Module: Etherscan

Defined in:
lib/etherscan.rb,
lib/etherscan/api.rb,
lib/etherscan/client.rb,
lib/etherscan/config.rb,
lib/etherscan/engine.rb,
lib/etherscan/tokens.rb,
lib/etherscan/accounts.rb,
lib/etherscan/exceptions.rb

Defined Under Namespace

Classes: Accounts, Api, Client, Config, Engine, Exception, Tokens

Constant Summary collapse

VERSION =
File.read(File.expand_path('../../VERSION', __FILE__)).strip.freeze

Class Method Summary collapse

Class Method Details

.configObject



17
18
19
# File 'lib/etherscan/config.rb', line 17

def self.config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



13
14
15
# File 'lib/etherscan/config.rb', line 13

def self.configure
  yield config
end

.loggerObject



11
12
13
# File 'lib/etherscan.rb', line 11

def self.logger
  config.logger
end