Sha256: 20f025b9537b9c22bd5a51dcd6d019ff5c43a76c3ded426b75231ba7f86de84d
Contents?: true
Size: 792 Bytes
Versions: 5
Compression:
Stored size: 792 Bytes
Contents
module Vacuum module Request # A Marketplace Web Services (MWS) API request. class MWS < Base # Returns the Addressable::URI URL of the MWS API request. def url Addressable::URI.new :scheme => 'https', :host => endpoint.host, :path => endpoint.path, :query_values => parameters end private def default_parameters super.merge 'MarketplaceId' => endpoint.marketplace, 'SellerId' => endpoint.seller, 'Service' => 'AWSECommerceService', 'SignatureMethod' => 'HmacSHA256', 'SignatureVersion' => 2 end end end end
Version data entries
5 entries across 5 versions & 1 rubygems