Class: Nis::Struct::ExplorerTransferViewModel

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

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

Instance Attribute Details

#hashString


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

def hash
  @hash
end

#innerHashString Also known as: inner_hash


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

def innerHash
  @innerHash
end

#txNis::Struct::Transaction


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

def tx
  @tx
end

Class Method Details

.build(attrs) ⇒ Object


13
14
15
16
# File 'lib/nis/struct/explorer_transfer_view_model.rb', line 13

def self.build(attrs)
  attrs[:tx] = Transaction.build(attrs[:tx])
  new(attrs)
end