Class: EdmundsCars::Vehicles
- Inherits:
-
Object
- Object
- EdmundsCars::Vehicles
- Includes:
- HTTParty
- Defined in:
- lib/edmunds_cars/vehicles.rb
Direct Known Subclasses
ConsumerReviews, Depreciation, Incentives, Maintenance, Makes, Models, Photos, Resale, Styles, TotalCashPrice, TrueCostToOwn, TrueMarketValue, Vin
Instance Method Summary collapse
-
#initialize(key) ⇒ Vehicles
constructor
A new instance of Vehicles.
Constructor Details
#initialize(key) ⇒ Vehicles
Returns a new instance of Vehicles.
9 10 11 |
# File 'lib/edmunds_cars/vehicles.rb', line 9 def initialize(key) self.class.default_params :api_key => key end |