Sha256: 3441012fd6a1e9622ec1fa8e74ff5870546456b277d6960d052e1835a8d6295e

Contents?: true

Size: 185 Bytes

Versions: 30

Compression:

Stored size: 185 Bytes

Contents

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

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

@root = Customer.new(login: 'jackiechan2010')
inspect_rest_model(@root)

Version data entries

30 entries across 30 versions & 1 rubygems

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