lib/jackie/base.rb in jackie-0.1.2 vs lib/jackie/base.rb in jackie-0.2.0
- old
+ new
@@ -1,8 +1,9 @@
module Jackie
class Base < ActiveResource::Base
- self.site = "https://kickfolio.com/api/"
- headers['Accept'] = 'application/vnd.kickfolio.v1'
+ self.site = "https://app.io/api/"
+ self.format = :json
+ headers['Accept'] = 'application/vnd.app.io+json;version=1'
class << self
def headers
if defined?(@headers)
@headers