Module: Edmunds::Vehicle::Styles
- Defined in:
- lib/edmunds/vehicle/styles.rb
Instance Method Summary collapse
- #chrome_data(chrome_id, options = {}) ⇒ Object
- #count(options = {}) ⇒ Object
- #id(style_id, options = {}) ⇒ Object
- #make_count(make, options = {}) ⇒ Object
- #make_model_count(make, model, options = {}) ⇒ Object
- #make_model_year(make, model, year, options = {}) ⇒ Object
- #make_model_year_count(make, model, year, options = {}) ⇒ Object
Instance Method Details
#chrome_data(chrome_id, options = {}) ⇒ Object
29 30 31 |
# File 'lib/edmunds/vehicle/styles.rb', line 29 def chrome_data(chrome_id, ={}) send_request "/partners/chrome/styles/#{chrome_id}", end |
#count(options = {}) ⇒ Object
5 6 7 |
# File 'lib/edmunds/vehicle/styles.rb', line 5 def count(={}) send_request '/styles/count', end |
#id(style_id, options = {}) ⇒ Object
21 22 23 |
# File 'lib/edmunds/vehicle/styles.rb', line 21 def id(style_id, ={}) send_request "/styles/#{style_id}", end |
#make_count(make, options = {}) ⇒ Object
9 10 11 |
# File 'lib/edmunds/vehicle/styles.rb', line 9 def make_count(make, ={}) send_request "/#{make}/styles/count", end |
#make_model_count(make, model, options = {}) ⇒ Object
13 14 15 |
# File 'lib/edmunds/vehicle/styles.rb', line 13 def make_model_count(make, model, ={}) send_request "/#{make}/#{model}/styles/count", end |
#make_model_year(make, model, year, options = {}) ⇒ Object
25 26 27 |
# File 'lib/edmunds/vehicle/styles.rb', line 25 def make_model_year(make, model, year, ={}) send_request "/#{make}/#{model}/#{year}/styles", end |
#make_model_year_count(make, model, year, options = {}) ⇒ Object
17 18 19 |
# File 'lib/edmunds/vehicle/styles.rb', line 17 def make_model_year_count(make, model, year, ={}) send_request "/#{make}/#{model}/#{year}/styles/count", end |