hipchat_client_patch.rb 372 Bytes
Newer Older
1
# frozen_string_literal: true
2 3 4 5 6 7 8 9 10 11 12 13 14 15
# This monkey patches the HTTParty used in https://github.com/hipchat/hipchat-rb.
module HipChat
  class Client
    connection_adapter ::Gitlab::ProxyHTTPConnectionAdapter
  end

  class Room
    connection_adapter ::Gitlab::ProxyHTTPConnectionAdapter
  end

  class User
    connection_adapter ::Gitlab::ProxyHTTPConnectionAdapter
  end
end