Class: Protobuf::Rpc::Middleware::Runner

Inherits:
Middleware::Runner
  • Object
show all
Defined in:
lib/protobuf/rpc/middleware/runner.rb

Instance Method Summary collapse

Constructor Details

#initialize(stack) ⇒ Runner

Override the default middleware runner so we can ensure that the service dispatcher is the last thing called in the stack.



10
11
12
13
14
# File 'lib/protobuf/rpc/middleware/runner.rb', line 10

def initialize(stack)
  stack << Protobuf::Rpc::ServiceDispatcher

  super(stack)
end