Class: Sbmt::Outbox::Middleware::Builder
- Inherits:
-
Object
- Object
- Sbmt::Outbox::Middleware::Builder
- Defined in:
- lib/sbmt/outbox/middleware/builder.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(middlewares) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(middlewares) ⇒ Builder
Returns a new instance of Builder.
7 8 9 |
# File 'lib/sbmt/outbox/middleware/builder.rb', line 7 def initialize(middlewares) middlewares.each { |middleware| stack << middleware } end |