Sha256: 24d2135677a5e7edf79b8866c2e935e2cf3e1a7669a6af1a29a0832977ea0d82

Contents?: true

Size: 240 Bytes

Versions: 7

Compression:

Stored size: 240 Bytes

Contents

require 'scrub_rb'

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zendesk_api-1.14.0 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-1.13.4 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-1.13.3 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-1.13.2 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-1.13.1 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-1.12.1 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-1.12.0 lib/zendesk_api/middleware/response/sanitize_response.rb