Module: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Plugins::CanBeServiceStep::Concern Private
- Includes:
- ConvenientService::Support::Concern
- Defined in:
- lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_service_step/concern.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #service_class ⇒ Class<ConvenientService::Service> private
- #service_result ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result private
- #service_step? ⇒ Boolean private
Methods included from ConvenientService::Support::Concern
Instance Method Details
#service_class ⇒ Class<ConvenientService::Service>
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.
23 24 25 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_service_step/concern.rb', line 23 def service_class action if service_step? end |
#service_result ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
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.
41 42 43 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_service_step/concern.rb', line 41 def service_result Commands::CalculateServiceResult.call(step: self) end |
#service_step? ⇒ Boolean
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.
30 31 32 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_service_step/concern.rb', line 30 def service_step? action.instance_of?(Class) end |