Module: Representable::Debug::Representable
- Defined in:
- lib/representable/debug.rb
Instance Method Summary collapse
- #create_representation_with(doc, options, format) ⇒ Object
- #representable_mapper(*args) ⇒ Object
- #update_properties_from(doc, options, format) ⇒ Object
Instance Method Details
#create_representation_with(doc, options, format) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/representable/debug.rb', line 15 def create_representation_with(doc, , format) puts puts "[Serialize]........." puts "[Serialize]" super end |
#representable_mapper(*args) ⇒ Object
22 23 24 |
# File 'lib/representable/debug.rb', line 22 def representable_mapper(*args) super.extend(Mapper) end |
#update_properties_from(doc, options, format) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/representable/debug.rb', line 8 def update_properties_from(doc, , format) puts puts "[Deserialize]........." puts "[Deserialize] document #{doc.inspect}" super end |