Commit f335ace6414e3f283137de28a96b51fb6a94e229
1 parent
368044d1
Exists in
master
and in
1 other branch
adding missing url's for notification's services
Showing
3 changed files
with
12 additions
and
0 deletions
Show diff stats
app/models/notification_services/hipchat_service.rb
app/models/notification_services/hoiio_service.rb
... | ... | @@ -21,6 +21,10 @@ class NotificationServices::HoiioService < NotificationService |
21 | 21 | end |
22 | 22 | end |
23 | 23 | |
24 | + def url | |
25 | + "https://secure.hoiio.com/user/" | |
26 | + end | |
27 | + | |
24 | 28 | def notification_description(problem) |
25 | 29 | "[#{ problem.environment }]#{problem.message.to_s.truncate(50)}" |
26 | 30 | end | ... | ... |
app/models/notification_services/pushover_service.rb
... | ... | @@ -17,6 +17,10 @@ class NotificationServices::PushoverService < NotificationService |
17 | 17 | end |
18 | 18 | end |
19 | 19 | |
20 | + def url | |
21 | + "https://pushover.net/login" | |
22 | + end | |
23 | + | |
20 | 24 | def create_notification(problem) |
21 | 25 | # build the hoi client |
22 | 26 | notification = Rushover::Client.new(subdomain) | ... | ... |