Module: SimpleInteraction::InstanceMethods
- Defined in:
- lib/simple_interaction.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#error_class ⇒ Object
Returns the value of attribute error_class.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
92 93 94 |
# File 'lib/simple_interaction.rb', line 92 def error @error end |
#error_class ⇒ Object
Returns the value of attribute error_class.
92 93 94 |
# File 'lib/simple_interaction.rb', line 92 def error_class @error_class end |
#result ⇒ Object
Returns the value of attribute result.
92 93 94 |
# File 'lib/simple_interaction.rb', line 92 def result @result end |
Instance Method Details
#success? ⇒ Boolean
94 95 96 |
# File 'lib/simple_interaction.rb', line 94 def success? error.nil? end |