Module: ViaBTC

Defined in:
lib/viabtc/http.rb,
lib/viabtc/error.rb,
lib/viabtc/config.rb,
lib/viabtc/helpers.rb,
lib/viabtc/version.rb

Defined Under Namespace

Modules: Error, HTTP, Helpers Classes: Configuration

Constant Summary collapse

VERSION =
"1.4.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



5
6
7
# File 'lib/viabtc/config.rb', line 5

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



8
9
10
11
# File 'lib/viabtc/config.rb', line 8

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