Class: EdmundsCars::Incentives

Inherits:
Vehicles
  • Object
show all
Defined in:
lib/edmunds_cars/incentives.rb

Instance Method Summary collapse

Methods inherited from Vehicles

#initialize

Constructor Details

This class inherits a constructor from EdmundsCars::Vehicles

Instance Method Details

#by_style_id(style_id) ⇒ Object



6
7
8
# File 'lib/edmunds_cars/incentives.rb', line 6

def by_style_id(style_id)
  self.class.get("/findincentivesbystyleid", :query => {:styleid => style_id})
end