class ArkEcosystem::Crypto::Configuration::Network

The holder of network configuration.

Public Class Methods

get() click to toggle source
# File lib/arkecosystem/crypto/configuration/network.rb, line 8
def self.get
  @network || ArkEcosystem::Crypto::Networks::Mainnet
end
set(network) click to toggle source
# File lib/arkecosystem/crypto/configuration/network.rb, line 12
def self.set(network)
  @network = network
end