Class: MongoMapper::Plugins::XmlSerializer
- Inherits:
-
ActiveModel::Serializers::Xml::Serializer
- Object
- ActiveModel::Serializers::Xml::Serializer
- MongoMapper::Plugins::XmlSerializer
- Defined in:
- lib/mongo_mapper/plugins/serialization.rb
Overview
Override default Serializer to use #serializable_hash
Instance Method Summary collapse
Instance Method Details
#attributes_hash ⇒ Object
99 100 101 |
# File 'lib/mongo_mapper/plugins/serialization.rb', line 99 def attributes_hash @serializable.serializable_hash() end |
#serializable_methods ⇒ Object
103 104 105 106 |
# File 'lib/mongo_mapper/plugins/serialization.rb', line 103 def serializable_methods # Methods are already included in #serializable_hash [] end |