Module: Roar::Representer::XML::InstanceMethods
- Defined in:
- lib/roar/representer/xml.rb
Instance Method Summary collapse
- #deserialize(*args) ⇒ Object
-
#serialize(*args) ⇒ Object
Generic entry-point for rendering.
- #to_node(*args) ⇒ Object
Instance Method Details
#deserialize(*args) ⇒ Object
31 32 33 |
# File 'lib/roar/representer/xml.rb', line 31 def deserialize(*args) from_xml(*args) end |
#serialize(*args) ⇒ Object
Generic entry-point for rendering.
27 28 29 |
# File 'lib/roar/representer/xml.rb', line 27 def serialize(*args) to_xml(*args) end |
#to_node(*args) ⇒ Object
21 22 23 24 |
# File 'lib/roar/representer/xml.rb', line 21 def to_node(*args) before_serialize(*args) super end |