Sha256: 6a1a219168f6858302ae863f93633b946ef6f7afa11d3123e0ccab9abb567a31

Contents?: true

Size: 208 Bytes

Versions: 28

Compression:

Stored size: 208 Bytes

Contents

$:.push 'examples'; require 'helper'

class Customer < RestModel
  property :login, field: :customer_login
end

@root = Customer.from_source!(customer_login: 'jackiechan2010').first
inspect_rest_model(@root)

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rest_model-0.3.1 examples/properties/with_field.rb
rest_model-0.3.0 examples/properties/with_field.rb
rest_model-0.2.3 examples/properties/with_field.rb
rest_model-0.2.1 examples/properties/with_field.rb
rest_model-0.2.0 examples/properties/with_field.rb
rest_model-0.1.24 examples/properties/with_field.rb
rest_model-0.1.23 examples/properties/with_field.rb
rest_model-0.1.22 examples/properties/with_field.rb
rest_model-0.1.21 examples/properties/with_field.rb
rest_model-0.1.20 examples/properties/with_field.rb
rest_model-0.1.19 examples/properties/with_field.rb
rest_model-0.1.18 examples/properties/with_field.rb
rest_model-0.1.17 examples/properties/with_field.rb
rest_model-0.1.16 examples/properties/with_field.rb
rest_model-0.1.15 examples/properties/with_field.rb
rest_model-0.1.14 examples/properties/with_field.rb
rest_model-0.1.13 examples/properties/with_field.rb
rest_model-0.1.12 examples/properties/with_field.rb
rest_model-0.1.11 examples/properties/with_field.rb
rest_model-0.1.10 examples/properties/with_field.rb