README.md in agx-0.1.0 vs README.md in agx-0.1.1
- old
+ new
@@ -29,13 +29,12 @@
Setup agX Content Client (OAuth 2 Client Credentials Flow)
```ruby
@agx_content_client = Agx::Content::Client.new(
client_id: "your_client_id",
client_secret: "your_client_secret",
- site: "content-api-endpoint-url", # optional
- token_url: "auth-token-endpoint-url", # optional
version: "v1" # optional
+ prod: true # optional, false for QA
)
```
Make get requests for Content API resources
```ruby
@@ -59,20 +58,17 @@
```ruby
@agx_sync_client = Agx::Sync::Client.new(
client_id: "your_client_id",
client_secret: "your_client_secret",
- site: "sync-api-endpoint-url", # optional
- host: "sync-api-endpoint-without-protocol", # optional
- authorize_url: "authorize-endpoint-url", # optional
- token_url: "auth-token-endpoint-url", # optional
version: "v3", # optional
sync_id: "agx_user_sync_id",
access_token: "agx_user_agx_token",
refresh_token: "agx_user_refresh_token",
token_expires_at: "access_token_expiration_timestamp",
- transaction_id: "agx_user_previous_transaction_id" # optional
+ transaction_id: "agx_user_previous_transaction_id" # optional,
+ prod: true # optional, false for QA
)
```
Initiate a sync transaction, make Sync API requests, and end transaction
@@ -105,13 +101,13 @@
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`.
## Contributing
-Bug reports and pull requests are welcome on GitHub at https://github.com/CropQuest/agx-ruby.
+Bug reports and pull requests are welcome on GitHub at https://github.com/brycejohnston/agx-ruby.
-## Copyright
+## License
-Copyright (c) 2016 [Crop Quest, Inc.](http://www.cropquest.com) See LICENSE.txt for details.
+The gem is available as open source under the terms of the MIT License (see [LICENSE.txt](https://github.com/brycejohnston/agx-ruby/blob/master/LICENSE.txt))
[agX](http://www.agxplatform.com/) is a registered trademark of [SST Software](http://www.sstsoftware.com/).