From 04364348aaab21cfed81df492c37d8e7a00097c7 Mon Sep 17 00:00:00 2001 From: Brendan G. Lim Date: Sun, 29 Aug 2010 00:09:08 -0500 Subject: Updating docs --- lib/sms_fu/sms_fu.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/sms_fu/sms_fu.rb b/lib/sms_fu/sms_fu.rb index f726ca2..82af796 100644 --- a/lib/sms_fu/sms_fu.rb +++ b/lib/sms_fu/sms_fu.rb @@ -1,8 +1,8 @@ class SMSFu DELIVERY_OPTIONS = [:action_mailer, :pony] - def self.configure(options = {}) - new(options) + def self.configure(delivery, options = {}) + new(options.merge!(:delivery => delivery.to_sym)) end def initialize(options = {}) -- cgit v1.2.3