Class: EdmundsCars::TotalCashPrice

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

Overview

FROM EDMUNDS DOCUMENTATION The Total Cash Price displayed is the vehicle’s True Market Value (TMV) price plus typically equipped options, destination charge, base tax and fees assessed by your state, and, if applicable, gas guzzler tax; less any widely available manufacturer-to-customer cash rebates. (However, we do not account for other types of cash rebates or incentives because of the variability of those offers and their eligibility requirements.

Instance Method Summary collapse

Methods inherited from Vehicles

#initialize

Constructor Details

This class inherits a constructor from EdmundsCars::Vehicles

Instance Method Details

#new_by_styleid_and_zip(style_id, zip) ⇒ Object



12
13
14
# File 'lib/edmunds_cars/total_cash_price.rb', line 12

def new_by_styleid_and_zip(style_id, zip)
  self.class.get("/newtotalcashpricebystyleidandzip/#{style_id}/#{zip}")
end

#used_by_styleid_and_zip(style_id, zip) ⇒ Object



16
17
18
# File 'lib/edmunds_cars/total_cash_price.rb', line 16

def used_by_styleid_and_zip(style_id, zip)
  self.class.get("/usedtotalcashpricebystyleidandzip/#{style_id}/#{zip}")
end