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.1.9 examples/to_source/with_field.rb
rest_model-0.1.8 examples/to_source/with_field.rb
rest_model-0.1.7 examples/to_source/with_field.rb
rest_model-0.1.6 examples/to_source/with_field.rb
rest_model-0.1.5 examples/to_source/with_field.rb
rest_model-0.1.4 examples/to_source/with_field.rb
rest_model-0.1.3 examples/to_source/with_field.rb
rest_model-0.1.2 examples/to_source/with_field.rb
rest_model-0.1.1 examples/to_input/with_field.rb
rest_model-0.1.0 examples/to_input/with_field.rb