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.0.2 spec/support/models/game.rb