Class: Trains::Utils::Result
- Inherits:
-
Struct
- Object
- Struct
- Trains::Utils::Result
- Defined in:
- lib/trains/utils/result.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#error ⇒ Object
Returns the value of attribute error.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
3 4 5 |
# File 'lib/trains/utils/result.rb', line 3 def data @data end |
#error ⇒ Object
Returns the value of attribute error
3 4 5 |
# File 'lib/trains/utils/result.rb', line 3 def error @error end |