README.md in unsplash-1.5.2 vs README.md in unsplash-1.5.3
- old
+ new
@@ -24,15 +24,15 @@
## Usage
### Configuration
Before making requests, you must configure the gem with your application ID
-and secret. If you are using Rails, you can do this in an initializer.
+and secret. If you are using Rails, you can do this in an initializer.
```ruby
-Unsplash.configure do |config|
- config.application_id = "YOUR APPLICATION ID"
+Unsplash.configure do |config|
+ config.application_access_key = "YOUR ACCESS KEY"
config.application_secret = "YOUR APPLICATION SECRET"
config.application_redirect_uri = "https://your-application.com/oauth/callback"
config.utm_source = "alices_terrific_client_app"
end
```
@@ -89,10 +89,10 @@
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` 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`.
+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/unsplash/unsplash_rb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.