<commit_before>module Azericard
  module Request
    # @param [Azericard::AzericardOptions] request_options
    # @return [true]
    # @raise [Azericard::HTTPResponseError]
    # @raise [Azericard::AzericardResponseError]
    def self.process(request_options)
      p_sign = generate_mac(request_options.text_to_sign)

      request = Typhoeus::Request.new(
        Azericard.endpoint,
        method: :post,
        followlocation: true,
        ssl_verifypeer: false,
        ssl_verifyhost: 2,
        cainfo: 'a.cer',
        headers: {
          "User-Agent" => Azericard.user_agent
        },
        body: {
          "AMOUNT"    => request_options.amount,
          "CURRENCY"  => request_options.currency,
          "ORDER"     => request_options.order,
          "RRN"       => request_options.rrn,
          "INT_REF"   => request_options.intref,
          "TERMINAL"  => Azericard.terminal,
          "TRTYPE"    => request_options.tr_type,
          "TIMESTAMP" => request_options.timestamp,<commit_msg>switch request SSL options to use TLSv1<commit_after>module Azericard
  module Request
    # @param [Azericard::AzericardOptions] request_options
    # @return [true]
    # @raise [Azericard::HTTPResponseError]
    # @raise [Azericard::AzericardResponseError]
    def self.process(request_options)
      p_sign = generate_mac(request_options.text_to_sign)

      request = Typhoeus::Request.new(
        Azericard.endpoint,
        method: :post,
        followlocation: true,
        ssl_verifypeer: false,
        ssl_verifyhost: 2,
        sslversion: :tlsv1,
        ssl_cipher_list: 'RC4-SHA',
        headers: {
          "User-Agent" => Azericard.user_agent
        },
        body: {
          "AMOUNT"    => request_options.amount,
          "CURRENCY"  => request_options.currency,
          "ORDER"     => request_options.order,
          "RRN"       => request_options.rrn,
          "INT_REF"   => request_options.intref,
          "TERMINAL"  => Azericard.terminal,
          "TRTYPE"    => request_options.tr_type,
          "TIMESTAMP" => request_options.timestamp,
{'fraction_non_alphanumeric': 0.10920362422508345, 'fraction_numerical': 0.002384358607534573, 'mean_word_length': 2.4113821138211384, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '628394', 'n_tokens_mistral': 688, 'n_tokens_neox': 649, 'n_words': 107}