Sha256: 05f47c11124d91940fd4704805b1b400c2b15c28b5986a452fcd435eb21803a7

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

module Substation
  module Processor

    # A processor to invoke a chain's pivot handler
    class Pivot

      include Processor
      include Chain::Pivot
      include Concord.new(:env, :handler)

      # Invoke a chain's pivot handler
      #
      # @param [Request] request
      #   the request to process
      #
      # @return [Response]
      #
      # @api private
      def call(request)
        handler.call(request)
      end

    end # class Caller
  end # module Processor
end # module Substation

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
substation-0.0.10.beta2 lib/substation/processor/pivot.rb