Class: Ebay::Product

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

Instance Method Summary collapse

Methods inherited from Request

#get, #sandbox!

Constructor Details

#initializeProduct

Returns a new instance of Product.



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

def initialize
  @host = 'svcs.ebay.com'
  @path = '/services/marketplacecatalog/ProductService/v1'
  @sandbox = 'svcs.sandbox.ebay.com'
  @defaults = {
    headers: {
      'X-EBAY-SOA-SECURITY-APPNAME' => Config.app_id
    }
  }
end