Module: Edmunds::Vehicle::Models
- Defined in:
- lib/edmunds/vehicle/models.rb
Instance Method Summary collapse
- #all_models(make, options = {}) ⇒ Object
- #count(make, options = {}) ⇒ Object
- #model(make, model, options = {}) ⇒ Object
Instance Method Details
#all_models(make, options = {}) ⇒ Object
9 10 11 |
# File 'lib/edmunds/vehicle/models.rb', line 9 def all_models(make, ={}) send_request "/#{make}/models", end |
#count(make, options = {}) ⇒ Object
5 6 7 |
# File 'lib/edmunds/vehicle/models.rb', line 5 def count(make, ={}) send_request "/#{make}/models/count", end |
#model(make, model, options = {}) ⇒ Object
13 14 15 |
# File 'lib/edmunds/vehicle/models.rb', line 13 def model(make, model, ={}) send_request "/#{make}/#{model}", end |