class FakeSQS::ShowOutput
Public Class Methods
new(app)
click to toggle source
# File lib/fake_sqs/show_output.rb, line 7 def initialize(app) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/fake_sqs/show_output.rb, line 11 def call(env) request = Rack::Request.new(env) result = @app.call(env) puts request.params.to_yaml puts puts(*result.last) result end