diff options
| author | Brendan G. Lim | 2010-08-29 14:29:26 -0500 |
|---|---|---|
| committer | Brendan G. Lim | 2010-08-29 14:29:26 -0500 |
| commit | 72be48b0f51515749ad7ca71190ebb942fa1d647 (patch) | |
| tree | 0dec3b5007bbac4a4c5be931f89df909c13b57b7 /README.rdoc | |
| parent | a32865aef001a833cb0d9538e652bd7335180a0c (diff) | |
| download | sms-fu-72be48b0f51515749ad7ca71190ebb942fa1d647.tar.bz2 | |
updating README
Diffstat (limited to 'README.rdoc')
| -rw-r--r-- | README.rdoc | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/README.rdoc b/README.rdoc index af046de..db0871c 100644 --- a/README.rdoc +++ b/README.rdoc @@ -70,26 +70,29 @@ etc. :action_mailer. * If you would like to use Pony, you can configure it to use :sendmail or :smtp via - Pony. Set the :delivery option to :pony and then make sure to specify the - :pony_options as well, if necessary. + Pony. Set the :delivery option to :pony and then make sure to include :pony_config + as well # ActionMailer delivery - sms_fu = SMSFu.configure(:action_mailer) + sms_fu = SMSFu::Client.configure(:delivery => :action_mailer) # Pony delivery via Sendmail - sms_fu = SMSFu.configure(:pony, :pony_options => { :via => :sendmail }) + sms_fu = SMSFu::Client.configure(:delivery => :pony, :pony_config => { :via => :sendmail }) # Pony delivery via SMTP - sms_fu = SMSFu.configure(:pony, :pony_options => { :via => :smtp, - :via_options => { - :address => 'smtp.gmail.com', - :port => '587', - :user_name => 'username', - :password => 'password', - :authentication => :plain, - :domain => "localhost.localdomain" - :enable_starttls_auto => true, - }}) + PONY_CONFIG = { + :via => :smtp, + :via_options => { + :address => 'smtp.gmail.com', + :port => '587', + :user_name => 'username', + :password => 'password', + :authentication => :plain, + :enable_starttls_auto => true, + :domain => "localhost.localdomain" + }} + + sms_fu = SMSFu::Client.configure(:delivery => :pony, :pony_config => PONY_CONFIG) * You can view more pony 'via_options' at http://github.com/benprew/pony |
