Class: EvmClient::FunctionInput
- Inherits:
-
Object
- Object
- EvmClient::FunctionInput
- Defined in:
- lib/evm_client/function_input.rb
Instance Attribute Summary collapse
-
#indexed ⇒ Object
Returns the value of attribute indexed.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(data) ⇒ FunctionInput
constructor
A new instance of FunctionInput.
Constructor Details
#initialize(data) ⇒ FunctionInput
Returns a new instance of FunctionInput.
6 7 8 9 10 |
# File 'lib/evm_client/function_input.rb', line 6 def initialize(data) @type = data["type"] @name = data["name"] @indexed = data["index"] end |
Instance Attribute Details
#indexed ⇒ Object
Returns the value of attribute indexed.
4 5 6 |
# File 'lib/evm_client/function_input.rb', line 4 def indexed @indexed end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/evm_client/function_input.rb', line 4 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/evm_client/function_input.rb', line 4 def type @type end |