Class: Travis::Notifications::Webhook
- Inherits:
-
Object
- Object
- Travis::Notifications::Webhook
- Defined in:
- lib/travis/notifications/webhook.rb,
lib/travis/notifications/webhook/payload.rb
Defined Under Namespace
Classes: Payload
Constant Summary collapse
- EVENTS =
'build:finished'
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#notify(event, build, *args) ⇒ Object
23 24 25 |
# File 'lib/travis/notifications/webhook.rb', line 23 def notify(event, build, *args) send_webhook_notifications(build.webhooks, build) if build.send_webhook_notifications? end |