Sha256: 31bcb76a9d2a0c70003bd1ce6622095c0f468986b3c8f7d6d790fbd4be46f919

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module MaxExchangeApi
  class Config
    attr_accessor :timeout
    attr_accessor :logger

    def initialize
      @timeout = 3
      @logger = nil
    end
  end

  @default_config = Config.new

  class << self
    attr_reader :default_config
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
max_exchange_api-1.0.0 lib/max_exchange_api/config.rb