Class: Trx::Abi::FunctionOutput
- Inherits:
-
Object
- Object
- Trx::Abi::FunctionOutput
- Defined in:
- lib/trx/abi/function_output.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(data) ⇒ FunctionOutput
constructor
A new instance of FunctionOutput.
Constructor Details
#initialize(data) ⇒ FunctionOutput
Returns a new instance of FunctionOutput.
8 9 10 11 |
# File 'lib/trx/abi/function_output.rb', line 8 def initialize(data) @type = data["type"] @name = data["name"] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/trx/abi/function_output.rb', line 6 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/trx/abi/function_output.rb', line 6 def type @type end |