Sha256: a6fe7e01825d8a0f5392ef9e65e75eda7fe857f29c15de6b312cc8272ed77f79
Contents?: true
Size: 305 Bytes
Versions: 7
Compression:
Stored size: 305 Bytes
Contents
require 'rack' require 'yaml' module FakeSQS class ShowOutput def initialize(app) @app = app end def call(env) request = Rack::Request.new(env) result = @app.call(env) puts request.params.to_yaml puts puts(*result.last) result end end end
Version data entries
7 entries across 7 versions & 1 rubygems