Class: Acw::Helpers::Result
- Inherits:
-
Struct
- Object
- Struct
- Acw::Helpers::Result
- Defined in:
- lib/acw/helpers.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#success? ⇒ Object
Returns the value of attribute success?.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
3 4 5 |
# File 'lib/acw/helpers.rb', line 3 def error @error end |
#success? ⇒ Object
Returns the value of attribute success?
3 4 5 |
# File 'lib/acw/helpers.rb', line 3
def success?
@success?
end
|
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/acw/helpers.rb', line 3 def value @value end |