module ZaloAPI module Middleware module Response class SanitizeResponse < Faraday::Response::Middleware def on_complete(env) env[:body].scrub!('') end end end end end