Module: Roar::XML::ClassMethods
- Includes:
- Representable::XML::ClassMethods
- Defined in:
- lib/roar/xml.rb
Instance Method Summary collapse
Instance Method Details
#links_definition_options ⇒ Object
34 35 36 37 38 39 40 41 42 43 |
# File 'lib/roar/xml.rb', line 34 def # FIXME: this doesn't belong into the generic XML representer. { :as => :link, :class => Hypermedia::Hyperlink, :extend => XML::HyperlinkRepresenter, :exec_context => :decorator, collection: true } # TODO: merge with JSON. end |