Class: EverSdk::Tvm::ParamsOfRunGet
- Inherits:
-
Object
- Object
- EverSdk::Tvm::ParamsOfRunGet
- Defined in:
- lib/ever_sdk_client/tvm.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#execution_options ⇒ Object
readonly
Returns the value of attribute execution_options.
-
#function_name ⇒ Object
readonly
Returns the value of attribute function_name.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#tuple_list_as_array ⇒ Object
readonly
Returns the value of attribute tuple_list_as_array.
Instance Method Summary collapse
-
#initialize(account:, function_name:, input: nil, execution_options: nil, tuple_list_as_array: nil) ⇒ ParamsOfRunGet
constructor
A new instance of ParamsOfRunGet.
- #to_h ⇒ Object
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 = account @function_name = function_name @input = input @execution_options = @tuple_list_as_array = tuple_list_as_array end |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
136 137 138 |
# File 'lib/ever_sdk_client/tvm.rb', line 136 def account @account end |
#execution_options ⇒ Object (readonly)
Returns the value of attribute execution_options.
136 137 138 |
# File 'lib/ever_sdk_client/tvm.rb', line 136 def @execution_options end |
#function_name ⇒ Object (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 |
#input ⇒ Object (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_array ⇒ Object (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_h ⇒ Object
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 |