Skip to content

Commit

Permalink
add support for PagerDuty rich incidents
Browse files Browse the repository at this point in the history
  • Loading branch information
smithclay committed Mar 25, 2015
1 parent d9fcecf commit 1640643
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/generator.rb
Expand Up @@ -21,6 +21,13 @@ def generate_event
{ :service_key => @service_key,
:event_type => 'trigger',
:description => bacon.sentence,
:contexts => [
{
'href' => 'https://www.youtube.com/watch?v=oUltheRpJNw',
'type' => 'image',
'src' => 'http://www.placecage.com/gif/300/180'
}
],
:details => {
:quote => sam.paragraph
}
Expand Down

0 comments on commit 1640643

Please sign in to comment.