Class: Etherscan::Configuration
- Inherits:
-
Object
- Object
- Etherscan::Configuration
- Defined in:
- lib/etherscan-lite.rb
Instance Method Summary collapse
-
#key ⇒ Object
accessors todo/check - change to apikey or api_key or such - why? why not?.
- #key=(value) ⇒ Object
Instance Method Details
#key ⇒ Object
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 |