Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Directions::Input
- Inherits:
-
Base
- Object
- Base
- ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Directions::Input
- Defined in:
- lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/input.rb
Instance Method Summary collapse
- #define_output_in_container!(container, index:, method:) ⇒ Object
- #validate_as_input_for_container!(container, method:) ⇒ Object
- #validate_as_output_for_container!(container, method:) ⇒ Object
Methods inherited from Base
Methods included from ConvenientService::Support::Copyable
Methods included from ConvenientService::Support::Concern
Instance Method Details
#define_output_in_container!(container, index:, method:) ⇒ Object
20 21 22 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/input.rb', line 20 def define_output_in_container!(container, index:, method:) ::ConvenientService.raise Exceptions::MethodIsNotOutputMethod.new(method: method, container: container) end |
#validate_as_input_for_container!(container, method:) ⇒ Object
12 13 14 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/input.rb', line 12 def validate_as_input_for_container!(container, method:) true end |
#validate_as_output_for_container!(container, method:) ⇒ Object
16 17 18 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/input.rb', line 16 def validate_as_output_for_container!(container, method:) ::ConvenientService.raise Exceptions::MethodIsNotOutputMethod.new(method: method, container: container) end |