Class: SmartCore::Operation::Result
Private
- Inherits:
-
Object
- Object
- SmartCore::Operation::Result
show all
- 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
Instance Method Summary
collapse
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_options)
@__result_attributes__ = result_attributes
@__result_options__ = result_options
end
|
Instance Attribute Details
#__result_attributes__ ⇒ Array<Any>
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>
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__
@__result_options__
end
|
Instance Method Details
#callback? ⇒ Boolean
49
50
51
|
# File 'lib/smart_core/operation/result.rb', line 49
def callback?
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
|