Skip to content

Instantly share code, notes, and snippets.

@chadwtaylor
Last active August 11, 2016 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadwtaylor/6288276 to your computer and use it in GitHub Desktop.
Save chadwtaylor/6288276 to your computer and use it in GitHub Desktop.
class ApplicationModel < ActiveResource::Base
def initialize
super
self.site = "http://captionwatch-api.dev"
self.user = "admin"
end
end
class Complaint < ApplicationModel
end
class Product < ApplicationModel
end
class Company < ApplicationModel
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment