Class: Admin::Base::ActionExecutor::Result
- Inherits:
-
Struct
- Object
- Struct
- Admin::Base::ActionExecutor::Result
- Defined in:
- lib/admin/base/action_executor.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#message ⇒ Object
Returns the value of attribute message.
-
#redirect_url ⇒ Object
Returns the value of attribute redirect_url.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors
10 11 12 |
# File 'lib/admin/base/action_executor.rb', line 10 def errors @errors end |
#message ⇒ Object
Returns the value of attribute message
10 11 12 |
# File 'lib/admin/base/action_executor.rb', line 10 def end |
#redirect_url ⇒ Object
Returns the value of attribute redirect_url
10 11 12 |
# File 'lib/admin/base/action_executor.rb', line 10 def redirect_url @redirect_url end |
#success ⇒ Object
Returns the value of attribute success
10 11 12 |
# File 'lib/admin/base/action_executor.rb', line 10 def success @success end |
Instance Method Details
#failure? ⇒ Boolean
12 |
# File 'lib/admin/base/action_executor.rb', line 12 def failure? = !success |
#success? ⇒ Boolean
11 |
# File 'lib/admin/base/action_executor.rb', line 11 def success? = success |