Module: Edmunds::Vehicle::Styles

Defined in:
lib/edmunds/vehicle/styles.rb

Instance Method Summary collapse

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, options={})
  send_request "/partners/chrome/styles/#{chrome_id}", options
end

#count(options = {}) ⇒ Object



5
6
7
# File 'lib/edmunds/vehicle/styles.rb', line 5

def count(options={})
  send_request '/styles/count', options
end

#id(style_id, options = {}) ⇒ Object



21
22
23
# File 'lib/edmunds/vehicle/styles.rb', line 21

def id(style_id, options={})
  send_request "/styles/#{style_id}", options
end

#make_count(make, options = {}) ⇒ Object



9
10
11
# File 'lib/edmunds/vehicle/styles.rb', line 9

def make_count(make, options={})
  send_request "/#{make}/styles/count", options
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, options={})
  send_request "/#{make}/#{model}/styles/count", options
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, options={})
  send_request "/#{make}/#{model}/#{year}/styles", options
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, options={})
  send_request "/#{make}/#{model}/#{year}/styles/count", options
end