Skip to content

Instantly share code, notes, and snippets.

@pullmonkey
Created January 13, 2011 22:22
Show Gist options
  • Save pullmonkey/778735 to your computer and use it in GitHub Desktop.
Save pullmonkey/778735 to your computer and use it in GitHub Desktop.
Setup VinAPI ActiveResource
class VinApi < ActiveResource::Base
headers["X-VinApiKey"] = "YOUR_API_KEY_GOES_HERE"
self.site = "http://vinapi.skizmo.com"
self.element_name = "vin"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment