Class: InklingApi::PreserveRawBody
- Inherits:
-
Faraday::Response::Middleware
- Object
- Faraday::Response::Middleware
- InklingApi::PreserveRawBody
- Defined in:
- lib/inkling_api.rb
Instance Method Summary collapse
Instance Method Details
#on_complete(env) ⇒ Object
25 26 27 |
# File 'lib/inkling_api.rb', line 25 def on_complete(env) env[:raw_body] = env[:body] end |