Sha256: f457acccf42f7d7d3698730dd720a5f952f4b5b687b13f1e80abf9815db09740

Contents?: true

Size: 819 Bytes

Versions: 4

Compression:

Stored size: 819 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:)
                    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.16.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.rb
convenient_service-0.15.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.rb
convenient_service-0.14.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.rb
convenient_service-0.13.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/directions/output.rb