Sha256: b58c62dd698ffcbe3f654c4fdf7444f255e992fd4f526899bb839ebad59ef639

Contents?: true

Size: 192 Bytes

Versions: 14

Compression:

Stored size: 192 Bytes

Contents

# frozen_string_literal: true

class Game < ActiveRecord::Base
  class Decorator < Azeroth::Decorator
    expose :id
    expose :name
    expose :publisher, decorator: NameDecorator
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
azeroth-1.0.0 spec/dummy/app/models/game/decorator.rb
azeroth-0.10.1 spec/dummy/app/models/game/decorator.rb
azeroth-0.10.0 spec/dummy/app/models/game/decorator.rb
azeroth-0.9.0 spec/dummy/app/models/game/decorator.rb
azeroth-0.8.2 spec/dummy/app/models/game/decorator.rb
azeroth-0.8.1 spec/dummy/app/models/game/decorator.rb
azeroth-0.8.0 spec/dummy/app/models/game/decorator.rb
azeroth-0.7.4 spec/dummy/app/models/game/decorator.rb
azeroth-0.7.3 spec/dummy/app/models/game/decorator.rb
azeroth-0.7.2 spec/dummy/app/models/game/decorator.rb
azeroth-0.7.1 spec/dummy/app/models/game/decorator.rb
azeroth-0.7.0 spec/dummy/app/models/game/decorator.rb
azeroth-0.6.5 spec/dummy/app/models/game/decorator.rb
azeroth-0.6.4 spec/dummy/app/models/game/decorator.rb