Sha256: 9f9ef54400a1bd4b3c7c064aa4820439f6a6bf321c8c1677681a4bffab02929c
Contents?: true
Size: 403 Bytes
Versions: 2
Compression:
Stored size: 403 Bytes
Contents
class Roar::Decorator < Representable::Decorator extend Roar::Representer::InheritableArray module HypermediaConsumer def links_array=(*args) super # TODO: this currently sets #links which is not obvious. represented.links = links end # TODO: what is the deal with #links_array and #links? def links=(*args) super represented.links = links end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
roar-0.11.18 | lib/roar/decorator.rb |
roar-0.11.17 | lib/roar/decorator.rb |