README.md in edmunds_api-0.1.1 vs README.md in edmunds_api-0.1.2
- old
+ new
@@ -5,11 +5,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'edmunds_api', '~> 0.1.0'
+gem 'edmunds_api', '~> 0.1.2'
```
And then execute:
$ bundle
@@ -26,16 +26,16 @@
config.api_key = 'your-api-key'
end
```
Basic usage:
```ruby
-vehicle_api = Edmunds::Api.new.vehicles
-vehicle_api.makes.count
+vehicles_api = Edmunds::Api.new.vehicles
+vehicles_api.makes.count
```
You can also pass options to an Api endpoint:
```ruby
-vehicle_api = Edmunds::Api.new.vehicle
-vehicle_api.make('Lexus', {state: 'new'})
+vehicles_api = Edmunds::Api.new.vehicles
+vehicles_api.make('Lexus', {state: 'new'})
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/webstreak/edmunds-api-ruby.