<commit_before>require "jpay/version"

module Jpay
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield configuration
  end

  # Configures the gem
  #
  # @example
  #   Zarinpal.configure do |config|
  #     config.merchant_id  = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
  #     config.callback_url = 'http://example.com/call_back'
  #     config.client       = 'https://de.zarinpal.com/pg/services/WebGate/wsdl'
  #   end
  class Configuration
    attr_accessor :api, :callback_url, :client

    def initialize
      @client = 'http://www.jahanpay.com/webservice?wsdl'
    end

  end
end<commit_msg>fix require<commit_after>require "jpay/version"
require 'jpay/payment_request'
require 'jpay/response'
require 'jpay/payment_verification'
require 'jpay/errors'

module Jpay
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield configuration
  end

  # Configures the gem
  #
  # @example
  #   Jpay.configure do |config|
  #     config.merchant_id  = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
  #     config.callback_url = 'http://example.com/call_back'
  #     config.client       = 'http://www.jahanpay.com/webservice?wsdl'
  #   end
  class Configuration
    attr_accessor :api, :callback_url, :client

    def initialize
      @client = 'http://www.jahanpay.com/webservice?wsdl'
    end

  end
end
{'fraction_non_alphanumeric': 0.10714285714285714, 'fraction_numerical': 0.0, 'mean_word_length': 3.1274787535410766, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, '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': '1715707', 'n_tokens_mistral': 492, 'n_tokens_neox': 479, 'n_words': 94}