Sha256: 356a2774f7c28c3bc6e4b32acf7872aa8c203a243595b1b4d6b52c237b145d0d

Contents?: true

Size: 324 Bytes

Versions: 38

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

require './spec/support/models/http_json_model'

class HttpPerson < HttpJsonModel
  parse :uid
  parse :name,     path: [:personal_information]
  parse :age,      path: [:personal_information]
  parse :username, path: [:digital_information]
  parse :email,    path: [:digital_information]
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
sinclair-1.6.7 spec/support/models/http_person.rb
sinclair-1.6.6 spec/support/models/http_person.rb
sinclair-1.6.5 spec/support/models/http_person.rb
sinclair-1.6.4 spec/support/models/http_person.rb
sinclair-1.6.3 spec/support/models/http_person.rb
sinclair-1.6.2 spec/support/models/http_person.rb
sinclair-1.6.1 spec/support/models/http_person.rb
sinclair-1.6.0 spec/support/models/http_person.rb
sinclair-1.5.2 spec/support/models/http_person.rb
sinclair-1.5.1 spec/support/models/http_person.rb
sinclair-1.5.0 spec/support/models/http_person.rb
sinclair-1.4.2 spec/support/models/http_person.rb
sinclair-1.4.1 spec/support/models/http_person.rb
sinclair-1.4.0 spec/support/models/http_person.rb
sinclair-1.3.4 spec/support/models/http_person.rb
sinclair-1.3.3 spec/support/models/http_person.rb
sinclair-1.3.2 spec/support/models/http_person.rb
sinclair-1.3.1 spec/support/models/http_person.rb