Class: SmartCore::Operation::Result Private
- Inherits:
-
Object
- Object
- SmartCore::Operation::Result
- Defined in:
- lib/smart_core/operation/result.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 Attribute Summary collapse
- #__result_attributes__ ⇒ Array<Any> readonly private
- #__result_options__ ⇒ Hash<Symbol,Any> readonly private
Instance Method Summary collapse
- #custom? ⇒ Boolean
- #failure? ⇒ Boolean
- #initialize(*result_attributes, **result_options) ⇒ void constructor
- #success? ⇒ Boolean
Constructor Details
#initialize(*result_attributes, **result_options) ⇒ void
24 25 26 27 |
# File 'lib/smart_core/operation/result.rb', line 24 def initialize(*result_attributes, **) @__result_attributes__ = result_attributes @__result_options__ = end |
Instance Attribute Details
#__result_attributes__ ⇒ Array<Any> (readonly)
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.
10 11 12 |
# File 'lib/smart_core/operation/result.rb', line 10 def __result_attributes__ @__result_attributes__ end |
#__result_options__ ⇒ Hash<Symbol,Any> (readonly)
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.
16 17 18 |
# File 'lib/smart_core/operation/result.rb', line 16 def @__result_options__ end |
Instance Method Details
#custom? ⇒ Boolean
49 50 51 |
# File 'lib/smart_core/operation/result.rb', line 49 def custom? false end |
#failure? ⇒ Boolean
41 42 43 |
# File 'lib/smart_core/operation/result.rb', line 41 def failure? false end |
#success? ⇒ Boolean
33 34 35 |
# File 'lib/smart_core/operation/result.rb', line 33 def success? false end |