lib/flapjack/data/notification.rb in flapjack-0.6.49 vs lib/flapjack/data/notification.rb in flapjack-0.6.50
- old
+ new
@@ -30,9 +30,10 @@
def contents
@contents ||= {'event_id' => event.id,
'state' => event.state,
'summary' => event.summary,
'time' => event.time,
+ 'duration' => event.duration || nil,
'notification_type' => type}
end
private