Sha256: 41674540719119a8bf1e9bad703c47fb55f6f119e1bfbed59e1ae636bc82451b

Contents?: true

Size: 216 Bytes

Versions: 28

Compression:

Stored size: 216 Bytes

Contents

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

class Customer < RestModel
  property :login, field: 'hidden.login'
end

@root = Customer.from_source!("hidden" => {"login" => 'jackiechan2010'}).first
inspect_rest_model(@root)

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rest_model-0.1.9 examples/properties/with_field_path.rb
rest_model-0.1.8 examples/properties/with_field_path.rb
rest_model-0.1.7 examples/properties/with_field_path.rb
rest_model-0.1.6 examples/properties/with_field_path.rb
rest_model-0.1.5 examples/properties/with_field_path.rb
rest_model-0.1.4 examples/properties/with_field_path.rb
rest_model-0.1.3 examples/properties/with_field_path.rb
rest_model-0.1.2 examples/properties/with_field_path.rb