Commit 4d15bc8054750dd0e256e734a2aa941d1eeb7054
1 parent
af36ec26
Exists in
master
and in
1 other branch
all now have standard interval field if desired reflected in super
Showing
6 changed files
with
9 additions
and
9 deletions
Show diff stats
app/models/notification_services/campfire_service.rb
| 1 | 1 | if defined? Campy |
| 2 | 2 | class NotificationServices::CampfireService < NotificationService |
| 3 | 3 | Label = "campfire" |
| 4 | - Fields = [ | |
| 4 | + Fields += [ | |
| 5 | 5 | [:subdomain, { |
| 6 | 6 | :label => "Subdomain", |
| 7 | 7 | :placeholder => "subdomain from http://{{subdomain}}.campfirenow.com" |
| ... | ... | @@ -33,4 +33,4 @@ if defined? Campy |
| 33 | 33 | campy.speak "[errbit] #{problem.app.name} #{notification_description problem} - http://#{Errbit::Config.host}/apps/#{problem.app.id.to_s}/problems/#{problem.id.to_s}" |
| 34 | 34 | end |
| 35 | 35 | end |
| 36 | -end | |
| 37 | 36 | \ No newline at end of file |
| 37 | +end | ... | ... |
app/models/notification_services/gtalk_service.rb
app/models/notification_services/hipchat_service.rb
app/models/notification_services/hoiio_service.rb
| 1 | 1 | class NotificationServices::HoiioService < NotificationService |
| 2 | 2 | Label = "hoiio" |
| 3 | - Fields = [ | |
| 3 | + Fields += [ | |
| 4 | 4 | [:api_token, { |
| 5 | 5 | :placeholder => "App ID", |
| 6 | 6 | :label => "App ID" |
| ... | ... | @@ -39,4 +39,4 @@ class NotificationServices::HoiioService < NotificationService |
| 39 | 39 | end |
| 40 | 40 | |
| 41 | 41 | end |
| 42 | -end | |
| 43 | 42 | \ No newline at end of file |
| 43 | +end | ... | ... |
app/models/notification_services/hubot_service.rb
app/models/notification_services/pushover_service.rb
| 1 | 1 | class NotificationServices::PushoverService < NotificationService |
| 2 | 2 | Label = "pushover" |
| 3 | - Fields = [ | |
| 3 | + Fields += [ | |
| 4 | 4 | [:api_token, { |
| 5 | 5 | :placeholder => "User Key", |
| 6 | 6 | :label => "User Key" |
| ... | ... | @@ -29,4 +29,4 @@ class NotificationServices::PushoverService < NotificationService |
| 29 | 29 | notification.notify(api_token, "#{notification_description problem}", :priority => 1, :title => "Errbit Notification", :url => "http://#{Errbit::Config.host}/apps/#{problem.app.id.to_s}", :url_title => "Link to error") |
| 30 | 30 | |
| 31 | 31 | end |
| 32 | -end | |
| 33 | 32 | \ No newline at end of file |
| 33 | +end | ... | ... |