README.md in bootic_client-0.0.20 vs README.md in bootic_client-0.0.21
- old
+ new
@@ -26,14 +26,17 @@
You first must create an OAuth2 Application in your Bootic dashboard. Then configure the client with your `client_id` and `client_secret`.
```ruby
BooticClient.configure do |c|
+ # these are required for OAuth2 strategies
c.client_id = ENV['BOOTIC_CLIENT_ID']
c.client_secret = ENV['BOOTIC_CLIENT_SECRET']
+ # these are optional
c.logger = Logger.new(STDOUT)
c.logging = true
c.cache_store = Rails.cache
+ c.user_agent = "My App v1"
end
```
### Using with an existing access token