Module: Roar::JSON::ClassMethods
- Defined in:
- lib/roar/json.rb
Instance Method Summary collapse
-
#links_definition_options ⇒ Object
TODO: move to instance method, or remove?.
Instance Method Details
#links_definition_options ⇒ Object
TODO: move to instance method, or remove?
37 38 39 40 41 42 43 44 45 |
# File 'lib/roar/json.rb', line 37 def # FIXME: this doesn't belong into the generic JSON representer. { class: Hypermedia::Hyperlink, decorator: HyperlinkDecorator, collection: true, exec_context: :decorator } end |