Sha256: 5af53a8abebc27993ebc80db5b980328892fb8d8a64cdf0547e84e1cfb72b679
Contents?: true
Size: 209 Bytes
Versions: 12
Compression:
Stored size: 209 Bytes
Contents
class AwesomeMiddleware def initialize(app) @app = app end def call(env) status, headers, response = @app.call(env) [status, headers.merge("X-Awesome" => "U R Awesome"), response] end end
Version data entries
12 entries across 12 versions & 1 rubygems