Sha256: 3cbd8ad3b3fd2164ecfc79d64ce5f5046bbc18b33d22a876f7b83f3c020af5bb

Contents?: true

Size: 195 Bytes

Versions: 21

Compression:

Stored size: 195 Bytes

Contents

# frozen_string_literal: true

class Game
  include Arstotzka
  include SafeAttributeAssignment
  attr_reader :json

  expose :name, :publisher

  def initialize(json)
    @json = json
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
arstotzka-1.6.2 spec/support/models/game.rb
arstotzka-1.6.1 spec/support/models/game.rb
arstotzka-1.6.0 spec/support/models/game.rb
arstotzka-1.5.0 spec/support/models/game.rb
arstotzka-1.4.4 spec/support/models/game.rb
arstotzka-1.4.3 spec/support/models/game.rb
arstotzka-1.4.2 spec/support/models/game.rb
arstotzka-1.4.1 spec/support/models/game.rb
arstotzka-1.4.0 spec/support/models/game.rb
arstotzka-1.3.2 spec/support/models/game.rb
arstotzka-1.3.1 spec/support/models/game.rb
arstotzka-1.3.0 spec/support/models/game.rb
arstotzka-1.2.4 spec/support/models/game.rb
arstotzka-1.2.3 spec/support/models/game.rb
arstotzka-1.2.2 spec/support/models/game.rb
arstotzka-1.2.1 spec/support/models/game.rb
arstotzka-1.2.0 spec/support/models/game.rb
arstotzka-1.1.0 spec/support/models/game.rb
arstotzka-1.0.4 spec/support/models/game.rb
arstotzka-1.0.3 spec/support/models/game.rb