Class: Ebay::Shopping

Inherits:
Request show all
Defined in:
lib/ebay/shopping.rb

Instance Method Summary collapse

Methods inherited from Request

#get, #sandbox!

Constructor Details

#initializeShopping

Returns a new instance of Shopping.



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/ebay/shopping.rb', line 5

def initialize
  @host = 'open.api.ebay.com'
  @path = '/shopping'
  @sandbox = 'open.api.sandbox.ebay.com'
  @defaults = {
    headers: {
      'X-EBAY-API-APP-ID' => Config.app_id,
      'X-EBAY-API-VERSION' => 799
    }
  }
end