Class: MongoMapper::Plugins::Serialization::Json::JsonSerializer
- Inherits:
-
Serializer
- Object
- Serializer
- MongoMapper::Plugins::Serialization::Json::JsonSerializer
- Defined in:
- lib/mongo_mapper/plugins/serialization.rb
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::Plugins::Serialization::Serializer
Instance Method Details
#serialize ⇒ Object
85 86 87 |
# File 'lib/mongo_mapper/plugins/serialization.rb', line 85 def serialize serializable_record.to_json end |