Module: SmartCore::Operation::Interface::Result
- Included in:
- SmartCore::Operation
- Defined in:
- lib/smart_core/operation/interface/result.rb
Overview
rubocop:disable Naming/MethodName
Instance Method Summary collapse
- #Callback(&callback) ⇒ SmartCore::Operation::Result::Callback
- #Failure(*result_attributes) ⇒ SmartCore::Operation::Result::Failure
- #Fatal(*result_attributes) ⇒ SmartCore::Operation::Result::Fatal
- #Success(**result_attributes) ⇒ SmartCore::Operation::Result::Success
Instance Method Details
#Callback(&callback) ⇒ SmartCore::Operation::Result::Callback
39 40 41 |
# File 'lib/smart_core/operation/interface/result.rb', line 39 def Callback(&callback) SmartCore::Operation::Result::Callback.new(&callback) end |
#Failure(*result_attributes) ⇒ SmartCore::Operation::Result::Failure
21 22 23 |
# File 'lib/smart_core/operation/interface/result.rb', line 21 def Failure(*result_attributes) SmartCore::Operation::Result::Failure.new(*result_attributes) end |