Sha256: e7e03924f5a2b3c968cd7beaa2d6365da1f8ba5b4a3cd6bb1e13e978fb1fe4ef

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

module WashoutBuilder
  # This class is a Rack middleware used to route SOAP requests to a proper
  # action of a given SOAP controller.
  class Router

    def initialize(controller_path)
      @controller_path = controller_path
    end

    def call(env)
      env['washout_builder.controller_path'] = @controller_path
      WashoutBuilderController.action(:all).call(env)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
washout_builder-1.6.1 lib/washout_builder/router.rb