Sha256: 4578e84fc66d74c697a2f777508816e327fbedb97a5040ecbf02521c13d3d7ae

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

module ViaBTC
  class << self
    attr_accessor :configuration
  end

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

  class Configuration
    attr_accessor :base_url, :faraday_response, :faraday_adapter

    def initialize
      @base_url = nil
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
viabtc-0.2.0 lib/viabtc/config.rb
viabtc-0.1.1 lib/viabtc/config.rb
viabtc-0.1.0 lib/viabtc/config.rb