Class: AgentCooper::Finder
- Defined in:
- lib/agent_cooper/requests/finder.rb
Constant Summary collapse
- VERSION =
"1.11.0".freeze
- HOST =
"svcs.ebay.com".freeze
- PATH =
"/services/search/FindingService/v1".freeze
- ENCODING =
"XML".freeze
Instance Method Summary collapse
-
#initialize ⇒ Finder
constructor
A new instance of Finder.
Methods inherited from Request
#<<, #aget, #get, #parameters, #reset!
Constructor Details
#initialize ⇒ Finder
Returns a new instance of Finder.
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/agent_cooper/requests/finder.rb', line 9 def initialize self.host = HOST self.path = PATH self.default_parameters = { "SECURITY-APPNAME" => app_id, "SECURITY-VERSION" => VERSION, "RESPONSE-DATA-FORMAT" => ENCODING, "REST-PAYLOAD" => "" } end |