Module: Roar::Representer::JSON::CollectionJSON::ClientMethods
- Defined in:
- lib/roar/representer/json/collection_json.rb
Instance Method Summary collapse
- #__href=(v) ⇒ Object
- #__template=(v) ⇒ Object
- #__version=(v) ⇒ Object
- #href ⇒ Object
-
#template ⇒ Object
DISCUSS: this might return a Template instance, soon.
- #version ⇒ Object
Instance Method Details
#__href=(v) ⇒ Object
192 193 194 |
# File 'lib/roar/representer/json/collection_json.rb', line 192 def __href=(v) @__href = Roar::Representer::Feature::Hypermedia::Hyperlink.new(:href => v) end |
#__template=(v) ⇒ Object
199 200 201 |
# File 'lib/roar/representer/json/collection_json.rb', line 199 def __template=(v) @__template = v end |
#__version=(v) ⇒ Object
185 186 187 |
# File 'lib/roar/representer/json/collection_json.rb', line 185 def __version=(v) @__version = v end |
#href ⇒ Object
195 196 197 |
# File 'lib/roar/representer/json/collection_json.rb', line 195 def href @__href end |
#template ⇒ Object
DISCUSS: this might return a Template instance, soon.
203 204 205 |
# File 'lib/roar/representer/json/collection_json.rb', line 203 def template @__template end |
#version ⇒ Object
188 189 190 |
# File 'lib/roar/representer/json/collection_json.rb', line 188 def version @__version end |