To build a rack application with web_pipe, you have to include
WebPipe module in a class:
require 'web_pipe'
class MyApp
include WebPipe
# ...
endThen, you can plug the operations and add the rack middlewares you need.
The instance of that class will be the rack application:
# config.ru
require 'my_app'
run MyApp.new