README.md in ruby-ecomm-client-1.0.0 vs README.md in ruby-ecomm-client-1.1.0
- old
+ new
@@ -16,11 +16,11 @@
$ gem install ruby-ecomm-client
## Usage
-```
+```ruby
shopper_id = '???'
resource_type = 'outright'
resource_id = '???' #aka account_uid
client = RubyEcommClient::Client.new(shopper_id, resource_type, resource_id)
@@ -33,15 +33,11 @@
source_tree_id = 0
client.transitions(source_tree_id)
=> [ { :node_name => 'Outright - Monthly Plus', :product_id => '2697', :tree_id => '1734', :is_free => 'False' } ]
target_tree_id = ???
-client.upgrade(target_tree_id)
-=> 2
-
-target_tree_id = ???
-client.downgrade(target_tree_id)
-=> 2
+client.request_change(target_tree_id)
+=> { :used_express_checkout => true, :request_result => 2 }
```
## Contributing
1. Fork it