Class: TentApiDoc::FaradayAdapter
- Inherits:
-
Faraday::Adapter::Rack
- Object
- Faraday::Adapter::Rack
- TentApiDoc::FaradayAdapter
- Defined in:
- lib/tent-apidoc.rb
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
10 11 12 13 |
# File 'lib/tent-apidoc.rb', line 10 def call(env) env[:request_body] = env[:body].dup if env[:body] super end |