Class: MongoMapper::Serialization::JsonSerializer
- Inherits:
-
Serializer
- Object
- Serializer
- MongoMapper::Serialization::JsonSerializer
- Defined in:
- lib/mongomapper/serializers/json_serializer.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Serializer
Instance Method Summary collapse
Methods inherited from Serializer
#initialize, #serializable_key_names, #serializable_method_names, #serializable_names, #serializable_record, #to_s
Constructor Details
This class inherits a constructor from MongoMapper::Serialization::Serializer
Instance Method Details
#serialize ⇒ Object
68 69 70 |
# File 'lib/mongomapper/serializers/json_serializer.rb', line 68 def serialize serializable_record.to_json end |