Module: Roar::Decorator::HypermediaConsumer
- Defined in:
- lib/roar/decorator.rb
Instance Method Summary collapse
-
#links=(*args) ⇒ Object
TODO: what is the deal with #links_array and #links?.
- #links_array=(*args) ⇒ Object
Instance Method Details
#links=(*args) ⇒ Object
TODO: what is the deal with #links_array and #links?
14 15 16 17 |
# File 'lib/roar/decorator.rb', line 14 def links=(*args) super represented.links = links end |
#links_array=(*args) ⇒ Object
8 9 10 11 |
# File 'lib/roar/decorator.rb', line 8 def links_array=(*args) super # TODO: this currently sets #links which is not obvious. represented.links = links end |