Class: RippleRest::Notification
- Inherits:
-
RestObject
- Object
- RestObject
- RippleRest::Notification
- Defined in:
- lib/ripple-rest/generated-schemas.rb,
lib/ripple-rest/generated-schemas.rb
Overview
A
Instance Attribute Summary collapse
-
#account ⇒ String<RippleAddress>
The Ripple address of the account to which the notification pertains.
-
#direction ⇒ String
The direction of the transaction, from the perspective of the account being queried.
-
#hash ⇒ String<Hash256>
The 256-bit hash of the transaction.
-
#ledger ⇒ String
The string representation of the index number of the ledger containing the validated or failed transaction.
-
#next_notification_url ⇒ String
A URL that can be used to fetch the notification that followed this one chronologically.
-
#previous_notification_url ⇒ String
A URL that can be used to fetch the notification that preceded this one chronologically.
-
#result ⇒ String
The rippled code indicating the success or failure type of the transaction.
-
#state ⇒ String
The state of the transaction from the perspective of the Ripple Ledger.
-
#timestamp ⇒ Time
The timestamp representing when the transaction was validated and written into the Ripple ledger.
-
#transaction_url ⇒ String
A URL that can be used to fetch the full resource this notification corresponds to.
-
#type ⇒ String
The resource type this notification corresponds to.
Method Summary
Methods inherited from RestObject
Constructor Details
This class inherits a constructor from RippleRest::RestObject
Instance Attribute Details
#account ⇒ String<RippleAddress>
The Ripple address of the account to which the notification pertains
28 |
# File 'lib/ripple-rest/generated-schemas.rb', line 28 property :account, :RippleAddress |
#direction ⇒ String
The direction of the transaction, from the perspective of the account being queried. Possible values are “incoming”, “outgoing”, and “passthrough”
38 |
# File 'lib/ripple-rest/generated-schemas.rb', line 38 property :direction, [:String, "^incoming|outgoing|passthrough$"] |
#hash ⇒ String<Hash256>
The 256-bit hash of the transaction. This is used throughout the Ripple protocol as the unique identifier for the transaction
58 |
# File 'lib/ripple-rest/generated-schemas.rb', line 58 property :hash, :Hash256 |
#ledger ⇒ String
The string representation of the index number of the ledger containing the validated or failed transaction. Failed payments will only be written into the Ripple Ledger if they fail after submission to a rippled and a Ripple Network fee is claimed
53 |
# File 'lib/ripple-rest/generated-schemas.rb', line 53 property :ledger, [:String, "^[0-9]+$"] |
#next_notification_url ⇒ String
A URL that can be used to fetch the notification that followed this one chronologically
78 |
# File 'lib/ripple-rest/generated-schemas.rb', line 78 property :next_notification_url, :String |
#previous_notification_url ⇒ String
A URL that can be used to fetch the notification that preceded this one chronologically
73 |
# File 'lib/ripple-rest/generated-schemas.rb', line 73 property :previous_notification_url, :String |
#result ⇒ String
The rippled code indicating the success or failure type of the transaction. The code “tesSUCCESS” indicates that the transaction was successfully validated and written into the Ripple Ledger. All other codes will begin with the following prefixes: “tec”, “tef”, “tel”, or “tej”
48 |
# File 'lib/ripple-rest/generated-schemas.rb', line 48 property :result, [:String, "te[cfjlms][A-Za-z_]+"] |
#state ⇒ String
The state of the transaction from the perspective of the Ripple Ledger. Possible values are “validated” and “failed”
43 |
# File 'lib/ripple-rest/generated-schemas.rb', line 43 property :state, [:String, "^validated|failed$"] |
#timestamp ⇒ Time
The timestamp representing when the transaction was validated and written into the Ripple ledger
63 |
# File 'lib/ripple-rest/generated-schemas.rb', line 63 property :timestamp, :Timestamp |
#transaction_url ⇒ String
A URL that can be used to fetch the full resource this notification corresponds to
68 |
# File 'lib/ripple-rest/generated-schemas.rb', line 68 property :transaction_url, :String |
#type ⇒ String
The resource type this notification corresponds to. Possible values are “payment”, “order”, “trustline”, “accountsettings”
33 |
# File 'lib/ripple-rest/generated-schemas.rb', line 33 property :type, [:String, "^payment|order|trustline|accountsettings$"] |