Class: EverSdk::Tvm::ParamsOfRunGet

Inherits:
Object
  • Object
show all
Defined in:
lib/ever_sdk_client/tvm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account:, function_name:, input: nil, execution_options: nil, tuple_list_as_array: nil) ⇒ ParamsOfRunGet

Returns a new instance of ParamsOfRunGet.



138
139
140
141
142
143
144
# File 'lib/ever_sdk_client/tvm.rb', line 138

def initialize(account:, function_name:, input: nil, execution_options: nil, tuple_list_as_array: nil)
  @account = 
  @function_name = function_name
  @input = input
  @execution_options = execution_options
  @tuple_list_as_array = tuple_list_as_array
end

Instance Attribute Details

#accountObject (readonly)

Returns the value of attribute account.



136
137
138
# File 'lib/ever_sdk_client/tvm.rb', line 136

def 
  @account
end

#execution_optionsObject (readonly)

Returns the value of attribute execution_options.



136
137
138
# File 'lib/ever_sdk_client/tvm.rb', line 136

def execution_options
  @execution_options
end

#function_nameObject (readonly)

Returns the value of attribute function_name.



136
137
138
# File 'lib/ever_sdk_client/tvm.rb', line 136

def function_name
  @function_name
end

#inputObject (readonly)

Returns the value of attribute input.



136
137
138
# File 'lib/ever_sdk_client/tvm.rb', line 136

def input
  @input
end

#tuple_list_as_arrayObject (readonly)

Returns the value of attribute tuple_list_as_array.



136
137
138
# File 'lib/ever_sdk_client/tvm.rb', line 136

def tuple_list_as_array
  @tuple_list_as_array
end

Instance Method Details

#to_hObject



146
147
148
149
150
151
152
153
154
# File 'lib/ever_sdk_client/tvm.rb', line 146

def to_h
  {
    account: @account,
    function_name: @function_name,
    input: @input,
    execution_options: @execution_options&.to_h,
    tuple_list_as_array: @tuple_list_as_array
  }
end