Class: EdmundsCars::Vehicles

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/edmunds_cars/vehicles.rb

Instance Method Summary collapse

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