Sha256: c8c19a0274a3aa02d42cce389adf54665a90ccd31473495caaefe8e45fa080e9

Contents?: true

Size: 839 Bytes

Versions: 4

Compression:

Stored size: 839 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module CanHaveSteps
        module Entities
          class Method
            module Entities
              module Directions
                class Output < Base
                  def validate_as_input_for_container!(container, method:)
                    ::ConvenientService.raise Exceptions::MethodIsNotInputMethod.new(method: method, container: container)
                  end

                  def validate_as_output_for_container!(container, method:)
                    true
                  end

                  def define_output_in_container!(container, index:, method:)
                    true
                  end
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.rb
convenient_service-0.19.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.rb
convenient_service-0.18.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.rb
convenient_service-0.17.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.rb