Class: MWS::Sellers::Requests::MarketplaceParticipations
- Inherits:
-
Peddler::Request
- Object
- Peddler::Request
- MWS::Sellers::Requests::MarketplaceParticipations
- Defined in:
- lib/mws/sellers/requests/marketplace_participations.rb
Instance Attribute Summary
Attributes inherited from Peddler::Request
#body, #client, #last_parsed_response
Instance Method Summary collapse
Methods inherited from Peddler::Request
#execute, #has_next_token?, #initialize, #next_token, #parameters
Constructor Details
This class inherits a constructor from Peddler::Request
Instance Method Details
#list ⇒ Object
8 9 10 11 12 13 |
# File 'lib/mws/sellers/requests/marketplace_participations.rb', line 8 def list parameters(:list_marketplace_participations) .camelize_keys! execute end |
#list_by_next_token(token = next_token) ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'lib/mws/sellers/requests/marketplace_participations.rb', line 15 def list_by_next_token(token = next_token) return false unless token parameters(:list_marketplace_participations_by_next_token) .update(next_token: token) .camelize_keys! execute end |