Class: Vacuum::Request::MWS

Inherits:
Base
  • Object
show all
Defined in:
lib/vacuum/request/mws.rb

Overview

A Marketplace Web Services (MWS) API request.

Instance Attribute Summary

Attributes inherited from Base

#endpoint

Instance Method Summary collapse

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

#urlObject

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