Sha256: 0d2447a92e7d716a73b7875b73d70dc494574ef4aa0387d371b4d3378440481a
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
require 'rack' require 'yaml' module FakeServiceBus 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fake_servicebus-0.0.2 | lib/fake_servicebus/show_output.rb |