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

#[]Object

Returns the current value of [].

Returns:

  • (Object)

    the current value of []



9
10
11
# File 'lib/nis/struct/transaction_meta_data.rb', line 9

def []
  @[]
end

#hashObject

Returns the value of attribute hash.



11
12
13
# File 'lib/nis/struct/transaction_meta_data.rb', line 11

def hash
  @hash
end

#heightObject

Returns the value of attribute height.



11
12
13
# File 'lib/nis/struct/transaction_meta_data.rb', line 11

def height
  @height
end

#idObject

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