lib/flapjack/data/contact.rb in flapjack-1.2.1 vs lib/flapjack/data/contact.rb in flapjack-1.2.2

- old
+ new

@@ -17,10 +17,10 @@ class Contact attr_accessor :id, :first_name, :last_name, :email, :media, :media_intervals, :media_rollup_thresholds, :pagerduty_credentials - ALL_MEDIA = ['email', 'sms', 'sms_twilio', 'jabber', 'pagerduty', 'sns'] + ALL_MEDIA = ['email', 'sms', 'sms_twilio', 'sms_gammu', 'jabber', 'pagerduty', 'sns'] def self.all(options = {}) raise "Redis connection not set" unless redis = options[:redis] redis.keys('contact:*').inject([]) {|ret, k|