Class: Nem::Model::ImportanceTransferTransaction
- Inherits:
-
Transaction
- Object
- Transaction
- Nem::Model::ImportanceTransferTransaction
- Defined in:
- lib/nem/model/importance_transfer_transaction.rb
Instance Attribute Summary collapse
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#remote_account ⇒ Object
readonly
Returns the value of attribute remote_account.
Attributes inherited from Transaction
#deadline, #fee, #hash, #height, #id, #signer, #timestamp, #type, #version
Class Method Summary collapse
Methods inherited from Transaction
new_from_account_transaction, new_from_account_transaction_meta_data_pair
Methods included from Nem::Mixin::Assignable
Instance Attribute Details
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
4 5 6 |
# File 'lib/nem/model/importance_transfer_transaction.rb', line 4 def mode @mode end |
#remote_account ⇒ Object (readonly)
Returns the value of attribute remote_account.
4 5 6 |
# File 'lib/nem/model/importance_transfer_transaction.rb', line 4 def remote_account @remote_account end |
Class Method Details
.new_from_transaction_meta_data_pair(hash) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/nem/model/importance_transfer_transaction.rb', line 6 def self.(hash) transaction = hash[:transaction] attrs = (hash).merge( mode: transaction[:mode], remote_account: transaction[:remoteAccount] ) new(attrs) end |