Class: Ebay::ProductMetadata

Inherits:
Request
  • Object
show all
Defined in:
lib/ebay/product_metadata.rb

Instance Method Summary collapse

Methods inherited from Request

#get, #sandbox!

Constructor Details

#initializeProductMetadata

Returns a new instance of ProductMetadata.



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

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