Class: Ebay::Finding

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

Instance Method Summary collapse

Methods inherited from Request

#get, #sandbox!

Constructor Details

#initializeFinding

Returns a new instance of Finding.



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

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