Module: Roar::Decorator::HypermediaConsumer

Defined in:
lib/roar/decorator.rb

Instance Method Summary collapse

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


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