Class: ArkEcosystem::Crypto::Configuration::Network
- Inherits:
-
Object
- Object
- ArkEcosystem::Crypto::Configuration::Network
- Defined in:
- lib/arkecosystem/crypto/configuration/network.rb
Overview
The holder of network configuration.
Class Method Summary collapse
Class Method Details
.get ⇒ Object
8 9 10 |
# File 'lib/arkecosystem/crypto/configuration/network.rb', line 8 def self.get @network || ArkEcosystem::Crypto::Networks::Mainnet end |
.set(network) ⇒ Object
12 13 14 |
# File 'lib/arkecosystem/crypto/configuration/network.rb', line 12 def self.set(network) @network = network end |