module Roar::JSON::ClassMethods
Public Instance Methods
links_definition_options()
click to toggle source
TODO: move to instance method, or remove?
# File lib/roar/json.rb, line 37 def links_definition_options # FIXME: this doesn't belong into the generic JSON representer. { class: Hypermedia::Hyperlink, decorator: HyperlinkDecorator, collection: true, exec_context: :decorator } end