lib/woopy/resource.rb in woopy-0.1.1 vs lib/woopy/resource.rb in woopy-0.1.2
- old
+ new
@@ -1,10 +1,6 @@
module Woopy
- SITE_BASE = 'https://api.woople.com/services/v1/'
-
class Resource < ActiveResource::Base
- Resource.site = SITE_BASE
-
class << self
# If headers are not defined in a given subclass, then obtain headers from the superclass.
# Taken from the Harvest gem: github.com/aiaio/harvest
def headers
if defined?(@headers)
\ No newline at end of file