Sha256: 926ccb5080363b382a02ef048d0f97de7b317d4a449b5ffdb684618811c3ea89

Contents?: true

Size: 626 Bytes

Versions: 4

Compression:

Stored size: 626 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
          parameters(:get_feed_submission_list_by_next_token)
            .update(next_token: next_token)
            .camelize_keys!

          execute
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
peddler-0.6.3 lib/mws/feeds/requests/feed_submission_list.rb
peddler-0.6.2 lib/mws/feeds/requests/feed_submission_list.rb
peddler-0.6.1 lib/mws/feeds/requests/feed_submission_list.rb
peddler-0.6.0 lib/mws/feeds/requests/feed_submission_list.rb