debian-mirror-gitlab/config/initializers/hipchat_client_patch.rb

16 lines
357 B
Ruby
Raw Normal View History

2019-07-07 11:18:12 +05:30
# frozen_string_literal: true
2018-11-18 11:00:15 +05:30
# This monkey patches the HTTParty used in https://github.com/hipchat/hipchat-rb.
module HipChat
class Client
2019-06-05 12:25:43 +05:30
connection_adapter ::Gitlab::HTTPConnectionAdapter
2018-11-18 11:00:15 +05:30
end
class Room
2019-06-05 12:25:43 +05:30
connection_adapter ::Gitlab::HTTPConnectionAdapter
2018-11-18 11:00:15 +05:30
end
class User
2019-06-05 12:25:43 +05:30
connection_adapter ::Gitlab::HTTPConnectionAdapter
2018-11-18 11:00:15 +05:30
end
end