Class: EdmundsCars::Vin

Inherits:
Vehicles show all
Defined in:
lib/edmunds_cars/vin.rb

Instance Method Summary collapse

Methods inherited from Vehicles

#initialize

Constructor Details

This class inherits a constructor from EdmundsCars::Vehicles

Instance Method Details

#decode(vin) ⇒ Object



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

def decode(vin)
  self.class.get("/vindecoder", :query => {:vin => vin})
end