Class: Runar::SDK::DeployOptions
- Inherits:
-
Struct
- Object
- Struct
- Runar::SDK::DeployOptions
- Defined in:
- lib/runar/sdk/types.rb
Overview
Options for deploying a contract.
Instance Attribute Summary collapse
-
#change_address ⇒ Object
Returns the value of attribute change_address.
-
#satoshis ⇒ Object
Returns the value of attribute satoshis.
Instance Method Summary collapse
-
#initialize(satoshis: 10_000, change_address: '') ⇒ DeployOptions
constructor
A new instance of DeployOptions.
Constructor Details
#initialize(satoshis: 10_000, change_address: '') ⇒ DeployOptions
Returns a new instance of DeployOptions.
158 159 160 |
# File 'lib/runar/sdk/types.rb', line 158 def initialize(satoshis: 10_000, change_address: '') super end |
Instance Attribute Details
#change_address ⇒ Object
Returns the value of attribute change_address
157 158 159 |
# File 'lib/runar/sdk/types.rb', line 157 def change_address @change_address end |
#satoshis ⇒ Object
Returns the value of attribute satoshis
157 158 159 |
# File 'lib/runar/sdk/types.rb', line 157 def satoshis @satoshis end |