Class: Sequence::Stats

Inherits:
ResponseObject show all
Defined in:
lib/sequence/stats.rb

Overview

An object describing summary information about a ledger.

Defined Under Namespace

Classes: ClientModule

Instance Attribute Summary collapse

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_countInteger (readonly)

The number of accounts in the ledger.

Returns:

  • (Integer)


19
# File 'lib/sequence/stats.rb', line 19

attrib :account_count

#flavor_countInteger (readonly)

The number of flavors in the ledger.

Returns:

  • (Integer)


14
# File 'lib/sequence/stats.rb', line 14

attrib :flavor_count

#ledger_typeInteger (readonly)

The ledger type. Value can be ‘dev’ or ‘prod’.

Returns:

  • (Integer)


29
# File 'lib/sequence/stats.rb', line 29

attrib :ledger_type

#tx_countInteger (readonly)

The number of transactions in the ledger.

Returns:

  • (Integer)


24
# File 'lib/sequence/stats.rb', line 24

attrib :tx_count