|
@@ -4,11 +4,6 @@ module ShopifyAPI
|
|
|
class Base < ActiveResource::Base
|
|
|
extend Countable
|
|
|
self.include_root_in_json = false
|
|
|
-
|
|
|
- def self.inherited(klass)
|
|
|
- super
|
|
|
- klass.headers['User-Agent'] = Base.headers['User-Agent']
|
|
|
- end
|
|
|
self.headers['User-Agent'] = ["ShopifyAPI/#{ShopifyAPI::VERSION}",
|
|
|
"ActiveResource/#{ActiveResource::VERSION::STRING}",
|
|
|
"Ruby/#{RUBY_VERSION}"].join(' ')
|