Sha256: ff9554b9774d3bce166dd928505b6de937273576f49b11c5b72cb9301248309a
Contents?: true
Size: 854 Bytes
Versions: 1
Compression:
Stored size: 854 Bytes
Contents
module MWS module API class Feeds < Base Actions = [:get_feed_submission_list, :get_feed_submission_list_by_next_token, :get_feed_submission_count, :cancel_feed_submissions, :get_feed_submission_result ] def initialize(connection) @uri = "/" @version = "2009-01-01" @verb = :post super end def submit_feed(params={}) xml_envelope = Envelope.new(params.merge!(merchant_id: self.connection.seller_id)) params = params.except(:merchant_id, :message_type, :message, :skip_schema_validation) call(:submit_feed, params.merge!( request_params: { format: "xml", headers: { "Content-MD5" => xml_envelope.md5 }, body: xml_envelope.to_s } )) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mws-rb-0.0.1 | lib/mws-rb/api/feeds.rb |