Sha256: 448dd0643b666f497b80de5e9edb09407c0ee5ad483ef4f23e4ac2af13fc18e6

Contents?: true

Size: 227 Bytes

Versions: 23

Compression:

Stored size: 227 Bytes

Contents

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

class Customer < RestModel
  property :login
end

@root = Customer.from_source!(login: 'jackiechan2010').first
@root.update_attributes(login: 'newjackiechan2010')

inspect_rest_model(@root)

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rest_model-0.1.24 examples/update_attributes/simple.rb
rest_model-0.1.23 examples/update_attributes/simple.rb
rest_model-0.1.22 examples/update_attributes/simple.rb
rest_model-0.1.21 examples/update_attributes/simple.rb
rest_model-0.1.20 examples/update_attributes/simple.rb
rest_model-0.1.19 examples/update_attributes/simple.rb
rest_model-0.1.18 examples/update_attributes/simple.rb
rest_model-0.1.17 examples/update_attributes/simple.rb
rest_model-0.1.16 examples/update_attributes/simple.rb
rest_model-0.1.15 examples/update_attributes/simple.rb
rest_model-0.1.14 examples/update_attributes/simple.rb
rest_model-0.1.13 examples/update_attributes/simple.rb
rest_model-0.1.12 examples/update_attributes/simple.rb
rest_model-0.1.11 examples/update_attributes/simple.rb
rest_model-0.1.10 examples/update_attributes/simple.rb
rest_model-0.1.9 examples/update_attributes/simple.rb
rest_model-0.1.8 examples/update_attributes/simple.rb
rest_model-0.1.7 examples/update_attributes/simple.rb
rest_model-0.1.6 examples/update_attributes/simple.rb
rest_model-0.1.5 examples/update_attributes/simple.rb