Class: Sequence::Stats
- Inherits:
-
ResponseObject
- Object
- ResponseObject
- Sequence::Stats
- Defined in:
- lib/sequence/stats.rb
Overview
An object describing summary information about a ledger.
Defined Under Namespace
Classes: ClientModule
Instance Attribute Summary collapse
-
#account_count ⇒ Integer
readonly
The number of accounts in the ledger.
-
#flavor_count ⇒ Integer
readonly
The number of flavors in the ledger.
-
#ledger_type ⇒ Integer
readonly
The ledger type.
-
#tx_count ⇒ Integer
readonly
The number of transactions in the ledger.
Method Summary
Methods inherited from ResponseObject
#[], #[]=, #initialize, #to_h, #to_json
Constructor Details
This class inherits a constructor from Sequence::ResponseObject
Instance Attribute Details
#account_count ⇒ Integer (readonly)
The number of accounts in the ledger.
19 |
# File 'lib/sequence/stats.rb', line 19 attrib :account_count |
#flavor_count ⇒ Integer (readonly)
The number of flavors in the ledger.
14 |
# File 'lib/sequence/stats.rb', line 14 attrib :flavor_count |
#ledger_type ⇒ Integer (readonly)
The ledger type. Value can be ‘dev’ or ‘prod’.
29 |
# File 'lib/sequence/stats.rb', line 29 attrib :ledger_type |
#tx_count ⇒ Integer (readonly)
The number of transactions in the ledger.
24 |
# File 'lib/sequence/stats.rb', line 24 attrib :tx_count |