ActiveModel::Serializers::JSON

module ActiveModel::Serializers::JSON

Included modules:
ActiveModel::Serialization

Active Model JSON Serializer

Public Instance Methods

as_json(options = nil) Show source

Returns a hash representing the model. Some configuration can be passed through options登录查看完整内容