README.md in faraday-panoptes-0.1.0 vs README.md in faraday-panoptes-0.2.0
- old
+ new
@@ -2,9 +2,11 @@
This gem gives you a set of middleware that lets you use the Zooniverse Panoptes API more easily:
```ruby
api_client = Faraday.new(url: "https://panoptes.zooniverse.org") do |faraday|
+ faraday.adapter Faraday.default_adapter # WITHOUT THIS LINE NOTHING WILL HAPPEN
+
faraday.request :panoptes_client_credentials, url: 'https://panoptes.zooniverse.org', client_id: 'APPLICATION_ID', client_secret: 'APPLICATION_SECRET'
faraday.request :panoptes_api_v1
faraday.response :json
end