Class: Runar::SDK::ABI

Inherits:
Struct
  • Object
show all
Defined in:
lib/runar/sdk/types.rb

Overview

Contract ABI: constructor params and method descriptors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(constructor_params: [], methods: []) ⇒ ABI

Returns a new instance of ABI.



49
50
51
# File 'lib/runar/sdk/types.rb', line 49

def initialize(constructor_params: [], methods: [])
  super
end

Instance Attribute Details

#constructor_paramsObject

Returns the value of attribute constructor_params

Returns:

  • (Object)

    the current value of constructor_params



48
49
50
# File 'lib/runar/sdk/types.rb', line 48

def constructor_params
  @constructor_params
end

#methodsObject

Returns the value of attribute methods

Returns:

  • (Object)

    the current value of methods



48
49
50
# File 'lib/runar/sdk/types.rb', line 48

def methods
  @methods
end