Module: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Directions Private
- Includes:
- ConvenientService::Support::Castable
- Defined in:
- lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions.rb,
lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/base.rb,
lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/input.rb,
lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.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.
Defined Under Namespace
Class Method Summary collapse
Methods included from ConvenientService::Support::Concern
Class Method Details
.cast(other) ⇒ ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Direction::Base?
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.
27 28 29 30 31 32 33 34 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions.rb', line 27 def cast(other) case other when :input, "input", nil Entities::Directions::Input.new when :output, "output" Entities::Directions::Output.new end end |