Sha256: c060bc0e09fe60dc239126b69210d280fa19df705700fb6e175a3313972f8dc3

Contents?: true

Size: 248 Bytes

Versions: 4

Compression:

Stored size: 248 Bytes

Contents

require 'roar/representer'
require 'representable/decorator'

class Roar::Decorator < Representable::Decorator
  module HypermediaConsumer
    def links=(arr)
      super
      represented.instance_variable_set :@links, self.links
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/roar-1.2.0/lib/roar/decorator.rb
roar-1.2.0 lib/roar/decorator.rb
roar-1.1.1 lib/roar/decorator.rb
roar-1.1.0 lib/roar/decorator.rb