Class: ZendeskAPI::Middleware::Response::SanitizeResponse

Inherits:
Faraday::Response::Middleware
  • Object
show all
Defined in:
lib/zendesk_api/middleware/response/sanitize_response.rb

Instance Method Summary collapse

Instance Method Details

#on_complete(env) ⇒ Object



7
8
9
# File 'lib/zendesk_api/middleware/response/sanitize_response.rb', line 7

def on_complete(env)
  env[:body].scrub!('')
end