summaryrefslogtreecommitdiff
path: root/config/initializers/hipchat_client_patch.rb
blob: 51bd48af320db6d0833880788a8f5a9bbc1afa5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true
# This monkey patches the HTTParty used in https://github.com/hipchat/hipchat-rb.
module HipChat
  class Client
    connection_adapter ::Gitlab::HTTPConnectionAdapter
  end

  class Room
    connection_adapter ::Gitlab::HTTPConnectionAdapter
  end

  class User
    connection_adapter ::Gitlab::HTTPConnectionAdapter
  end
end