lib/flapjack/executive.rb in flapjack-0.6.46 vs lib/flapjack/executive.rb in flapjack-0.6.47

- old
+ new

@@ -16,11 +16,11 @@ require 'flapjack/data/event' require 'flapjack/pikelet' require 'flapjack/redis_pool' require 'flapjack/gateways/email' -require 'flapjack/gateways/sms' +require 'flapjack/gateways/sms_messagenet' module Flapjack class Executive include Flapjack::GenericPikelet @@ -254,10 +254,10 @@ contents = msg.contents # TODO consider changing Resque jobs to use raw blpop like the others case media_type when :sms - Resque.enqueue_to(@queues[:sms], Flapjack::Gateways::Sms, contents) + Resque.enqueue_to(@queues[:sms], Flapjack::Gateways::SmsMessagenet, contents) when :email Resque.enqueue_to(@queues[:email], Flapjack::Gateways::Email, contents) when :jabber # TODO move next line up into other notif value setting above? contents['event_count'] = @event_count if @event_count