Class: ExoCrypto::Network
- Inherits:
-
Object
- Object
- ExoCrypto::Network
- Defined in:
- lib/exocrypto/network.rb
Constant Summary collapse
- SETTINGS_SECTION =
'crypto_network'- @@conf =
ExoBasic::Settings.loaded
Class Method Summary collapse
Class Method Details
.is_testnet? ⇒ Boolean
8 9 10 11 12 |
# File 'lib/exocrypto/network.rb', line 8 def self.is_testnet? ExoBasic::Settings.try_get_nested_key(@@conf, false, [Network::SETTINGS_SECTION, 'testnet']) end |
.settings_reloaded ⇒ Object
14 15 16 |
# File 'lib/exocrypto/network.rb', line 14 def self.settings_reloaded @@conf = ExoBasic::Settings.loaded end |