Module: Roar::Representer::XML::ClassMethods
- Includes:
- Representable::XML::ClassMethods
- Defined in:
- lib/roar/representer/xml.rb
Instance Method Summary collapse
-
#deserialize(*args) ⇒ Object
Generic entry-point for parsing.
- #links_definition_options ⇒ Object
Instance Method Details
#deserialize(*args) ⇒ Object
Generic entry-point for parsing.
47 48 49 |
# File 'lib/roar/representer/xml.rb', line 47 def deserialize(*args) from_xml(*args) end |
#links_definition_options ⇒ Object
40 41 42 43 44 |
# File 'lib/roar/representer/xml.rb', line 40 def # FIXME: this doesn't belong into the generic XML representer. [:links_array, {:as => :link, :class => Feature::Hypermedia::Hyperlink, :collection => true, :extend => XML::HyperlinkRepresenter, :decorator_scope => true}] # TODO: merge with JSON. end |