Sha256: f5ffe53e49ee05b06d1e8d7f77f343c94aaa933a1df49a7e1f5a05b59c5e683e

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

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

module MWS
  module Reports
    module Requests
      class Report < ::Peddler::Request
        def get(id)
          parameters(:get_report)
            .update(report_id: id)
            .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/reports/requests/report.rb
peddler-0.6.4 lib/mws/reports/requests/report.rb