Class: Travis::Notifications::Email
- Inherits:
-
Object
- Object
- Travis::Notifications::Email
- Defined in:
- lib/travis/notifications/email.rb
Constant Summary collapse
- EVENTS =
'build:finished'
Instance Method Summary collapse
Instance Method Details
#notify(event, object, *args) ⇒ Object
8 9 10 |
# File 'lib/travis/notifications/email.rb', line 8 def notify(event, object, *args) send_emails(object) if object.send_email_notifications? end |