summaryrefslogtreecommitdiff
path: root/config/initializers/hipchat_client_patch.rb
blob: aec265312bb3b3222e84fca2579506bfdd19b79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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