Class: Ebay::Shopping
Instance Method Summary collapse
-
#initialize ⇒ Shopping
constructor
A new instance of Shopping.
Methods inherited from Request
Constructor Details
#initialize ⇒ Shopping
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 |