<commit_before>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)
        params = params.except(:merchant_id, :message_type, :message, :skip_schema_validation)
        call(:submit_feed, params.merge!(
          request_params: {
            format: "xml",
            headers: {<commit_msg>Remove the need of passing merchant_id to submit_feed<commit_after>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: {
{'fraction_non_alphanumeric': 0.0956641431520991, 'fraction_numerical': 0.011011699931176875, 'mean_word_length': 2.6717171717171717, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6851759', 'n_tokens_mistral': 456, 'n_tokens_neox': 437, 'n_words': 82}