Sha256: 2bafff94d3c3c2923830798c74090e1142e8f2c92957f026a242d614c254b66a
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 KB
Contents
require 'peddler/client' module MWS module Sellers # The Sellers API lets sellers retrieve information about their seller # account, such as the marketplaces they participate in. class Client < ::Peddler::Client version "2011-07-01" path "/Sellers/#{version}" # Lists the marketplaces the seller participates in # # @see http://docs.developer.amazonservices.com/en_US/sellers/Sellers_ListMarketplaceParticipations.html # @param next_token [String] # @return [Peddler::XMLParser] def list_marketplace_participations operation('ListMarketplaceParticipations') run end # Lists the next page of marketplaces the seller participates in # # @see http://docs.developer.amazonservices.com/en_US/sellers/Sellers_ListMarketplaceParticipationsByNextToken.html # @param next_token [String] # @return [Peddler::XMLParser] def list_marketplace_participations_by_next_token(next_token) operation('ListMarketplaceParticipationsByNextToken') .add('NextToken' => next_token) run end # Gets the service status of the API # # @see http://docs.developer.amazonservices.com/en_US/sellers/MWS_GetServiceStatus.html # @return [Peddler::XMLParser] def get_service_status operation('GetServiceStatus') run end # Gets the MWS Auth Token of the seller account # # @see http://docs.developer.amazonservices.com/en_US/auth_token/AuthToken_GetAuthToken.html # @return [Peddler::XMLParser] def get_auth_token operation('GetAuthToken') run end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
peddler-0.14.0 | lib/mws/sellers/client.rb |