Sha256: cf70d14907fd8da2d859e9bbe93f864f32d91d753d3b2c09321f4259d5c08aff

Contents?: true

Size: 210 Bytes

Versions: 12

Compression:

Stored size: 210 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
zendesk_api-3.1.1 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-3.1.0 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-3.0.5 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-3.0.4 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-3.0.2 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-3.0.1 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-3.0.0 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-3.0.0.rc1 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-2.0.1 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-2.0.0 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-1.38.0.rc2 lib/zendesk_api/middleware/response/sanitize_response.rb
zendesk_api-1.38.0.rc1 lib/zendesk_api/middleware/response/sanitize_response.rb