Sha256: 3b96dbe3548234f4baa425902a3b24d086e87c4f6407d71bfee06f4b3dd8fafb

Contents?: true

Size: 519 Bytes

Versions: 2

Compression:

Stored size: 519 Bytes

Contents

require 'peddler/request'
require 'mws/reports/parsers/report_schedule_list'

module MWS
  module Reports
    module Requests
      class ReportScheduleList < ::Peddler::Request
        def get(*types)
          parameters(:get_report_schedule_list)
            .update(report_type_list: types)
            .format_structured_lists!
            .camelize_keys!

          execute
        end

        def get_by_next_token(token = next_token)
          raise NotImplementedError
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 lib/mws/reports/requests/report_schedule_list.rb
peddler-0.6.4 lib/mws/reports/requests/report_schedule_list.rb