From 892e57084d10ac8a41ecd833a045a3a7ba0edbae Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 27 Apr 2016 11:40:36 -0400 Subject: [PATCH] Squish VIN --- app/models/vehicle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/vehicle.rb b/app/models/vehicle.rb index c28ab8d..0342132 100644 --- a/app/models/vehicle.rb +++ b/app/models/vehicle.rb @@ -43,7 +43,7 @@ class Vehicle < ActiveRecord::Base end # makes a squishvin - # http://developer.edmunds.com/api-documentation/vehicle/spec_squishvin/v1/ + # https://api.edmunds.com/api/vehicle/v2/squishvins/#{vin}/?fmt=json&api_key=#{ENV['edmunds_key']} def vin_squish if not self.vin? or self.vin.size < 11 # this is to go ahead and query the API, letting them handle the error. :P