Class: EverSdk::Tvm::ParamsOfRunTvm
- Inherits:
-
Object
- Object
- EverSdk::Tvm::ParamsOfRunTvm
- Defined in:
- lib/ever_sdk_client/tvm.rb
Instance Attribute Summary collapse
-
#abi ⇒ Object
readonly
Returns the value of attribute abi.
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#boc_cache ⇒ Object
readonly
Returns the value of attribute boc_cache.
-
#execution_options ⇒ Object
readonly
Returns the value of attribute execution_options.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#return_updated_account ⇒ Object
readonly
Returns the value of attribute return_updated_account.
Instance Method Summary collapse
-
#initialize(message:, account:, execution_options: nil, abi: nil, boc_cache: nil, return_updated_account: nil) ⇒ ParamsOfRunTvm
constructor
A new instance of ParamsOfRunTvm.
- #to_h ⇒ Object
Constructor Details
#initialize(message:, account:, execution_options: nil, abi: nil, boc_cache: nil, return_updated_account: nil) ⇒ ParamsOfRunTvm
Returns a new instance of ParamsOfRunTvm.
108 109 110 111 112 113 114 115 |
# File 'lib/ever_sdk_client/tvm.rb', line 108 def initialize(message:, account:, execution_options: nil, abi: nil, boc_cache: nil, return_updated_account: nil) @message = @account = account @execution_options = @abi = abi @boc_cache = boc_cache @return_updated_account = return_updated_account end |
Instance Attribute Details
#abi ⇒ Object (readonly)
Returns the value of attribute abi.
105 106 107 |
# File 'lib/ever_sdk_client/tvm.rb', line 105 def abi @abi end |
#account ⇒ Object (readonly)
Returns the value of attribute account.
105 106 107 |
# File 'lib/ever_sdk_client/tvm.rb', line 105 def account @account end |
#boc_cache ⇒ Object (readonly)
Returns the value of attribute boc_cache.
105 106 107 |
# File 'lib/ever_sdk_client/tvm.rb', line 105 def boc_cache @boc_cache end |
#execution_options ⇒ Object (readonly)
Returns the value of attribute execution_options.
105 106 107 |
# File 'lib/ever_sdk_client/tvm.rb', line 105 def @execution_options end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
105 106 107 |
# File 'lib/ever_sdk_client/tvm.rb', line 105 def @message end |
#return_updated_account ⇒ Object (readonly)
Returns the value of attribute return_updated_account.
105 106 107 |
# File 'lib/ever_sdk_client/tvm.rb', line 105 def return_updated_account @return_updated_account end |
Instance Method Details
#to_h ⇒ Object
117 118 119 120 121 122 123 124 125 126 |
# File 'lib/ever_sdk_client/tvm.rb', line 117 def to_h { message: @message, account: @account, execution_options: @execution_options&.to_h, abi: @abi&.to_h, boc_cache: @boc_cache&.to_h, return_updated_account: @return_updated_account } end |