Class: SmartCore::Operation::Result::Basic Private
- Inherits:
-
Object
- Object
- SmartCore::Operation::Result::Basic
- Defined in:
- lib/smart_core/operation/result/basic.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #callback? ⇒ Boolean
- #failure? ⇒ Boolean
- #fatal? ⇒ Boolean
- #initialize(*result_arguments, &result_block) ⇒ void constructor private
- #success? ⇒ Boolean
Constructor Details
#initialize(*result_arguments, &result_block) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 15 16 17 |
# File 'lib/smart_core/operation/result/basic.rb', line 12 def initialize(*result_arguments, &result_block) @__initial_result_arguments__ = result_arguments @__result_parameters__, @__result_options__ = __extract_result_attributes__(result_arguments) @__result_block__ = result_block __after_initialize__ end |
Instance Method Details
#callback? ⇒ Boolean
47 48 49 |
# File 'lib/smart_core/operation/result/basic.rb', line 47 def callback? false end |
#failure? ⇒ Boolean
31 32 33 |
# File 'lib/smart_core/operation/result/basic.rb', line 31 def failure? false end |
#fatal? ⇒ Boolean
39 40 41 |
# File 'lib/smart_core/operation/result/basic.rb', line 39 def fatal? false end |
#success? ⇒ Boolean
23 24 25 |
# File 'lib/smart_core/operation/result/basic.rb', line 23 def success? false end |