Sha256: a22a8a007716a574b5c5b1d2066fa88c81bee50c138876a84f3a95f8641dfedc

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

require 'peddler/request'
require 'mws/feeds/parsers/feed_submission_list'

module MWS
  module Feeds
    module Requests
      class FeedSubmissionList < ::Peddler::Request
        def get(options = {})
          parameters(:get_feed_submission_list)
            .update(options)
            .timestamp!
            .format_structured_lists!
            .camelize_keys!

          execute
        end

        def get_by_next_token(token = next_token)
          return false unless token

          parameters(:get_feed_submission_list_by_next_token)
            .update(next_token: token)
            .camelize_keys!

          execute
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 lib/mws/feeds/requests/feed_submission_list.rb
peddler-0.6.4 lib/mws/feeds/requests/feed_submission_list.rb