Class: Etherscan::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/etherscan-lite.rb

Instance Method Summary collapse

Instance Method Details

#keyObject

accessors

todo/check - change to apikey or api_key or such - why? why not?


33
# File 'lib/etherscan-lite.rb', line 33

def key()       @key ||= ENV['ETHERSCAN_KEY']; end

#key=(value) ⇒ Object



34
# File 'lib/etherscan-lite.rb', line 34

def key=(value) @key = value; end