Class: TentValidator::TentRackFaradayAdapter

Inherits:
Faraday::Adapter::Rack
  • Object
show all
Defined in:
lib/tent-validator/faraday/tent_rack_adapter.rb

Instance Method Summary collapse

Instance Method Details

#call(env) ⇒ Object



4
5
6
7
# File 'lib/tent-validator/faraday/tent_rack_adapter.rb', line 4

def call(env)
  env[:request_body] = env[:body].dup if env[:body]
  super
end