Class: Sequence::Account
- Inherits:
-
ResponseObject
- Object
- ResponseObject
- Sequence::Account
- Defined in:
- lib/sequence/account.rb
Overview
A container for asset balances on a ledger.
Defined Under Namespace
Classes: ClientModule, Key, Query
Instance Attribute Summary collapse
-
#alias ⇒ Object
readonly
Unique, user-specified identifier.
-
#id ⇒ Object
readonly
Unique, auto-generated identifier.
-
#keys ⇒ Object
readonly
The set of keys used for signing transactions that spend from the account.
-
#quorum ⇒ Object
readonly
The number of keys required to sign transactions that spend from the account.
-
#tags ⇒ Object
readonly
User-specified key-value data describing the account.
Method Summary
Methods inherited from ResponseObject
#[], #[]=, #initialize, #to_h, #to_json
Constructor Details
This class inherits a constructor from Sequence::ResponseObject
Instance Attribute Details
#alias ⇒ Object (readonly)
Unique, user-specified identifier.
17 |
# File 'lib/sequence/account.rb', line 17 attrib :alias |
#id ⇒ Object (readonly)
Unique, auto-generated identifier.
12 |
# File 'lib/sequence/account.rb', line 12 attrib :id |
#keys ⇒ Object (readonly)
The set of keys used for signing transactions that spend from the account.
23 |
# File 'lib/sequence/account.rb', line 23 attrib(:keys) { |raw| raw.map { |k| Key.new(k) } } |
#quorum ⇒ Object (readonly)
The number of keys required to sign transactions that spend from the account.
29 |
# File 'lib/sequence/account.rb', line 29 attrib :quorum |
#tags ⇒ Object (readonly)
User-specified key-value data describing the account.
34 |
# File 'lib/sequence/account.rb', line 34 attrib :tags |