Class: Hookdeck::Resources::Notification

Inherits:
Base
  • Object
show all
Defined in:
lib/hookdeck/resources/notification.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Hookdeck::Resources::Base

Instance Method Details

#configure_webhooks(params) ⇒ Object

Configure webhook notifications for the project



5
6
7
8
# File 'lib/hookdeck/resources/notification.rb', line 5

def configure_webhooks(params)
  validate_webhook_params!(params)
  put('notifications/webhooks', params)
end