=begin Marketcheck Cars API Access the New, Used and Certified cars inventories for all Car Dealers in US.
The data is sourced from online listings by over 40,000 Car dealers in US. At any time, there are about 5.2M searchable listings (about 1.8M unique VINs) for Used & Certified cars and about 5M (about 2.3M unique VINs) New Car listings from all over US. We use this API at the back for our website www.marketcheck.com and our Android and iOS mobile apps too.
Few useful links :
OpenAPI spec version: 1.0.3 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' require 'date' # Unit tests for SwaggerClient::Listing # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'Listing' do before do # run before each test @instance = SwaggerClient::Listing.new end after do # run after each test end describe 'test an instance of Listing' do it 'should create an instact of Listing' do @instance.should be_a(SwaggerClient::Listing) end end describe 'test attribute "id"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "heading"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "vin"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "stock_no"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "price"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "msrp"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "miles"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "vdp_url"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "source"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "is_certified"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "dom"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "build"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "media"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "extra"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "dealer"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end describe 'test attribute "car_location"' do it 'should work' do # assertion here # should be_a() # should be_nil # should == # should_not == end end end