Class: Nis::Struct::TransactionMetaData

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/transaction_meta_data.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#hashHash

Returns the current value of hash.

Returns:

  • (Hash)

    the current value of hash



6
7
8
# File 'lib/nis/struct/transaction_meta_data.rb', line 6

def hash
  @hash
end

#heightInteger

Returns the current value of height.

Returns:

  • (Integer)

    the current value of height



6
7
8
# File 'lib/nis/struct/transaction_meta_data.rb', line 6

def height
  @height
end

#idInteger

Returns the current value of id.

Returns:

  • (Integer)

    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