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
-
#hash ⇒ Hash
The current value of hash.
-
#height ⇒ Integer
The current value of height.
-
#id ⇒ Integer
The current value of id.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#hash ⇒ Hash
Returns the current value of hash.
6 7 8 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 6 def hash @hash end |
#height ⇒ Integer
Returns the current value of height.
6 7 8 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 6 def height @height end |
#id ⇒ Integer
Returns the current value of id.
6 7 8 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 6 def id @id end |
Class Method Details
.build(attrs) ⇒ Object
10 11 12 |
# File 'lib/nis/struct/transaction_meta_data.rb', line 10 def self.build(attrs) new(attrs) end |