Class: CardanoWallet::Misc::Network
- Defined in:
- lib/cardano_wallet/misc.rb
Overview
API for Network
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#clock ⇒ Object
Check network clock.
-
#information ⇒ Object
Get network information.
-
#parameters ⇒ Object
Check network parameters.
Methods inherited from Base
#byron, #initialize, #misc, #shared, #shelley, #utils
Constructor Details
This class inherits a constructor from CardanoWallet::Base
Instance Method Details
#clock ⇒ Object
Check network clock
89 90 91 |
# File 'lib/cardano_wallet/misc.rb', line 89 def clock self.class.get('/network/clock') end |
#information ⇒ Object
Get network information
83 84 85 |
# File 'lib/cardano_wallet/misc.rb', line 83 def information self.class.get('/network/information') end |
#parameters ⇒ Object
Check network parameters
95 96 97 |
# File 'lib/cardano_wallet/misc.rb', line 95 def parameters self.class.get('/network/parameters') end |