Sha256: 3b2689fb925c6d0607165781c32c216c4d642030c77b737cb4fecdbab6986ea7

Contents?: true

Size: 164 Bytes

Versions: 6

Compression:

Stored size: 164 Bytes

Contents

class BandRepresenter < Roar::Decorator
  include Roar::JSON
  include Roar::Hypermedia

  property :name

  link :self do
    band_url(represented.name)
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/roar-rails-1.2.0/test/dummy/app/representers/band_representer.rb
roar-rails-1.2.0 test/dummy/app/representers/band_representer.rb
roar-rails-1.1.0 test/dummy/app/representers/band_representer.rb
roar-rails-1.0.2 test/dummy/app/representers/band_representer.rb
roar-rails-1.0.1 test/dummy/app/representers/band_representer.rb
roar-rails-1.0.0 test/dummy/app/representers/band_representer.rb