Sha256: ded5080393746c65fae6507ec4d8d501930b751f9fd9ec708ca02e14947b6e8d

Contents?: true

Size: 319 Bytes

Versions: 5

Compression:

Stored size: 319 Bytes

Contents

module ViaBTC
  class << self
    attr_accessor :configuration
  end

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

  class Configuration
    attr_accessor :http_base_url, :http_response, :http_adapter

    def initialize
      @http_base_url = nil
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
viabtc-1.2.0 lib/viabtc/config.rb
viabtc-1.1.0 lib/viabtc/config.rb
viabtc-1.0.0 lib/viabtc/config.rb
viabtc-0.4.0 lib/viabtc/config.rb
viabtc-0.3.0 lib/viabtc/config.rb