Class: Nis::Struct::UnconfirmedTransactionMetaDataPair
- Inherits:
-
Object
- Object
- Nis::Struct::UnconfirmedTransactionMetaDataPair
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/unconfirmed_transaction_meta_data_pair.rb
Overview
Instance Attribute Summary collapse
-
#meta ⇒ Nis::Struct::UnconfirmedTransactionMetaData
The current value of meta.
-
#transaction ⇒ Nis::Struct::Transaction
The current value of transaction.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#meta ⇒ Nis::Struct::UnconfirmedTransactionMetaData
Returns the current value of meta.
5 6 7 |
# File 'lib/nis/struct/unconfirmed_transaction_meta_data_pair.rb', line 5 def @meta end |
#transaction ⇒ Nis::Struct::Transaction
Returns the current value of transaction.
5 6 7 |
# File 'lib/nis/struct/unconfirmed_transaction_meta_data_pair.rb', line 5 def transaction @transaction end |
Class Method Details
.build(meta:, transaction:) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/nis/struct/unconfirmed_transaction_meta_data_pair.rb', line 9 def self.build(meta:, transaction:) new( meta: UnconfirmedTransactionMetaData.build(), transaction: Transaction.build(transaction) ) end |