Class: EdmundsCars::Styles
Instance Method Summary
collapse
Methods inherited from Vehicles
#initialize
Instance Method Details
#by_id(id) ⇒ Object
6
7
8
|
# File 'lib/edmunds_cars/styles.rb', line 6
def by_id(id)
self.class.get("/findbyid", :query => {:id => id})
end
|
#by_make_model_year(make, model_name, model_year) ⇒ Object
10
11
12
|
# File 'lib/edmunds_cars/styles.rb', line 10
def by_make_model_year(make, model_name, model_year)
self.class.get("/findstylesbymakemodelyear", :query => {:make=>make, :model=> model_name, :year => model_year})
end
|
#by_model_year_id(id) ⇒ Object
14
15
16
|
# File 'lib/edmunds_cars/styles.rb', line 14
def by_model_year_id(id)
self.class.get("/findstylebymakemodelyearid", :query => {:modelyearid => id})
end
|