lib/fakeit/middleware/recorder.rb in fakeit-0.4.2 vs lib/fakeit/middleware/recorder.rb in fakeit-0.5.0
- old
+ new
@@ -6,10 +6,10 @@
end
def call(env)
env
.tap(&method(:log_request))
- .then { |e| @app.call(e) }
+ .then { @app.call(_1) }
.tap(&method(:log_response))
end
private