Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Directions::Input

Inherits:
Base
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/input.rb

Instance Method Summary collapse

Methods inherited from Base

#==, #to_arguments

Methods included from ConvenientService::Support::Copyable

#copy

Methods included from ConvenientService::Support::Concern

included

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