Sha256: 8a497aaa9e26b87eb3a311800f0c7edc79d0eae62990b7cbdf86f35bdeddfc47

Contents?: true

Size: 171 Bytes

Versions: 2

Compression:

Stored size: 171 Bytes

Contents

class House
  include Arstotzka
  include ::SafeAttributeAssignment
  attr_reader :json

  expose :age, :value, :floors

  def initialize(json)
    @json = json
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arstotzka-1.0.1 spec/support/models/house.rb
arstotzka-1.0.0 spec/support/models/house.rb