Class: Runar::SDK::ABIMethod
- Inherits:
-
Struct
- Object
- Struct
- Runar::SDK::ABIMethod
- Defined in:
- lib/runar/sdk/types.rb
Overview
A contract method descriptor.
Instance Attribute Summary collapse
-
#is_public ⇒ Object
Returns the value of attribute is_public.
-
#is_terminal ⇒ Object
Returns the value of attribute is_terminal.
-
#name ⇒ Object
Returns the value of attribute name.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(name:, params: [], is_public: true, is_terminal: nil) ⇒ ABIMethod
constructor
A new instance of ABIMethod.
Constructor Details
#initialize(name:, params: [], is_public: true, is_terminal: nil) ⇒ ABIMethod
Returns a new instance of ABIMethod.
42 43 44 |
# File 'lib/runar/sdk/types.rb', line 42 def initialize(name:, params: [], is_public: true, is_terminal: nil) super end |
Instance Attribute Details
#is_public ⇒ Object
Returns the value of attribute is_public
41 42 43 |
# File 'lib/runar/sdk/types.rb', line 41 def is_public @is_public end |
#is_terminal ⇒ Object
Returns the value of attribute is_terminal
41 42 43 |
# File 'lib/runar/sdk/types.rb', line 41 def is_terminal @is_terminal end |
#name ⇒ Object
Returns the value of attribute name
41 42 43 |
# File 'lib/runar/sdk/types.rb', line 41 def name @name end |
#params ⇒ Object
Returns the value of attribute params
41 42 43 |
# File 'lib/runar/sdk/types.rb', line 41 def params @params end |