Class: Nis::Struct::TransactionMetaData
- Inherits:
-
Object
- Object
- Nis::Struct::TransactionMetaData
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/transaction_meta_data.rb
Overview
Instance Attribute Summary collapse
-
#[] ⇒ Object
The current value of [].
-
#hash ⇒ Object
Returns the value of attribute hash.
-
#height ⇒ Object
Returns the value of attribute height.
-
#id ⇒ Object
Returns the value of attribute id.
Class Method Summary collapse
Methods included from Util::Assignable
#initialize, #to_hash, #to_json
Instance Attribute Details
#[] ⇒ Object
Returns the current value of [].
9 10 11 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 9
def []
@[]
end
|
#hash ⇒ Object
Returns the value of attribute hash.
11 12 13 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 11 def hash @hash end |
#height ⇒ Object
Returns the value of attribute height.
11 12 13 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 11 def height @height end |
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 11 def id @id end |
Class Method Details
.build(attrs) ⇒ Object
13 14 15 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 13 def self.build(attrs) new(attrs) end |