Sha256: 6b3d5a3f57a01a08519ba8fa0bea430d620c006f655113d3101c154340474610
Contents?: true
Size: 465 Bytes
Versions: 11
Compression:
Stored size: 465 Bytes
Contents
require 'roar/representer' require 'representable/decorator' 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
11 entries across 11 versions & 1 rubygems