Class: Integrations::SlackMattermostNotifier::HTTPClient

Inherits:
Object
  • Object
show all
Defined in:
app/models/concerns/integrations/slack_mattermost_notifier.rb

Class Method Summary collapse

Class Method Details

.post(uri, params = {}) ⇒ Object



35
36
37
38
# File 'app/models/concerns/integrations/slack_mattermost_notifier.rb', line 35

def self.post(uri, params = {})
  params.delete(:http_options) # these are internal to the client and we do not want them
  Gitlab::HTTP.post(uri, body: params)
end