Class: EdmundsCars::Makes
- Defined in:
- lib/edmunds_cars/makes.rb
Instance Method Summary collapse
Methods inherited from Vehicles
Constructor Details
This class inherits a constructor from EdmundsCars::Vehicles
Instance Method Details
#all ⇒ Object
10 11 12 |
# File 'lib/edmunds_cars/makes.rb', line 10 def all self.class.get("/findall") end |
#by_id(make_id) ⇒ Object
6 7 8 |
# File 'lib/edmunds_cars/makes.rb', line 6 def by_id(make_id) self.class.get("/findbyid" , :query => {:id => make_id}) end |