Sha256: 2233eacf860ca3de4ae20b3911c39bb15897d71444564fb525ea3fae770b1e69

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

module Cryptomus
  class Configuration
    attr_accessor :api_key,
                  :merchant_id,
                  :user_agent,
                  :connection_config,
                  :handle_response,
                  :on_error,
                  :logger

    def initialize
      self.user_agent = "Cryptomus Ruby SDK #{Cryptomus::VERSION} (Ruby #{RUBY_VERSION})"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cryptomus-0.2.1 lib/cryptomus/configuration.rb
cryptomus-0.2.0 lib/cryptomus/configuration.rb
cryptomus-0.1.1 lib/cryptomus/configuration.rb