2 ms·
In Ruby, we often use the middleware pattern (the rack stack, sidekiq or faraday to name a few). In the article, replace "Factory" with "Middleware" and "apply
by nviennot 14y ago
In Ruby, we often use the middleware pattern (the rack stack, sidekiq or faraday to name a few).
In the article, replace "Factory" with "Middleware" and "apply" with "call" and it's just like what we do in the ruby community.