Sha256: 1758bdb248a8028b646103e363ada7b2bc3efddecb51e369e0ec8438653ed405

Contents?: true

Size: 202 Bytes

Versions: 21

Compression:

Stored size: 202 Bytes

Contents

# frozen_string_literal: true

class House
  include Arstotzka
  include ::SafeAttributeAssignment
  attr_reader :json

  expose :age, :value, :floors

  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/house.rb
arstotzka-1.6.1 spec/support/models/house.rb
arstotzka-1.6.0 spec/support/models/house.rb
arstotzka-1.5.0 spec/support/models/house.rb
arstotzka-1.4.4 spec/support/models/house.rb
arstotzka-1.4.3 spec/support/models/house.rb
arstotzka-1.4.2 spec/support/models/house.rb
arstotzka-1.4.1 spec/support/models/house.rb
arstotzka-1.4.0 spec/support/models/house.rb
arstotzka-1.3.2 spec/support/models/house.rb
arstotzka-1.3.1 spec/support/models/house.rb
arstotzka-1.3.0 spec/support/models/house.rb
arstotzka-1.2.4 spec/support/models/house.rb
arstotzka-1.2.3 spec/support/models/house.rb
arstotzka-1.2.2 spec/support/models/house.rb
arstotzka-1.2.1 spec/support/models/house.rb
arstotzka-1.2.0 spec/support/models/house.rb
arstotzka-1.1.0 spec/support/models/house.rb
arstotzka-1.0.4 spec/support/models/house.rb
arstotzka-1.0.3 spec/support/models/house.rb