Sha256: 6cc46abf9d2ad4513f1a54636c731f62800c600d75b9c38864d1961dc856a22a

Contents?: true

Size: 176 Bytes

Versions: 2

Compression:

Stored size: 176 Bytes

Contents

class House
  include JsonParser
  include ::SafeAttributeAssignment
  attr_reader :json

  json_parse :age, :value, :floors

  def initialize(json)
    @json = json
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
json_parser-1.3.1 spec/support/models/house.rb
json_parser-1.3.0 spec/support/models/house.rb