Sha256: 3a81999953f1dd44fd4f61d95495f9a8d4596e2ad7b578e556be7fd27bd6405a

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

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

module MWS
  module Reports
    module Requests
      class ReportRequestInfo < ::Peddler::Request
        def request(type, options = {})
          parameters(:request_report)
            .update(type: type)
            .update(options)
            .timestamp!
            .format_structured_lists!
            .camelize_keys!

          execute
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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