Class: Roar::JSON::JSONAPI::Resource::Representer
- Inherits:
-
Decorator
- Object
- Representable::Decorator
- Decorator
- Roar::JSON::JSONAPI::Resource::Representer
- Includes:
- Hypermedia, Roar::JSON
- Defined in:
- lib/roar/json/json_api.rb
Overview
::link is delegated to Representer which handles the hypermedia (rendering and parsing links).
Constant Summary
Constants included from Roar::JSON
Instance Attribute Summary
Attributes included from Hypermedia
Class Method Summary collapse
Methods included from Hypermedia
Methods included from Hypermedia::LinkConfigsMethod
Methods included from Roar::JSON
Class Method Details
.links_definition_options ⇒ Object
63 64 65 66 67 68 |
# File 'lib/roar/json/json_api.rb', line 63 def self. { :extend => LinkCollectionRepresenter, :exec_context => :decorator } end |