Sha256: 1f9ea20f1bb81091d12887364f9de6acf9e68cff0fd5547f980c806ac0c4471a

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
fake_sqs-0.0.3 lib/fake_sqs/show_output.rb
fake_sqs-0.0.2 lib/fake_sqs/show_output.rb