Class: Vacuum::Request::MWS
Overview
A Marketplace Web Services (MWS) API request.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#url ⇒ Object
Returns the Addressable::URI URL of the MWS API request.
Methods inherited from Base
#build, #build!, #configure, #connection, #get, #get!, #initialize, #parameters
Constructor Details
This class inherits a constructor from Vacuum::Request::Base
Instance Method Details
#url ⇒ Object
Returns the Addressable::URI URL of the MWS API request.
6 7 8 9 10 11 |
# File 'lib/vacuum/request/mws.rb', line 6 def url Addressable::URI.new :scheme => 'https', :host => endpoint.host, :path => endpoint.path, :query_values => parameters end |