Flowdock
method

add_delivery_method

Importance_1
add_delivery_method(symbol, klass, default_options={}) public

Adds a new delivery method through the given class using the given symbol as alias and the default options supplied:

Example:

add_delivery_method :sendmail, Mail::Sendmail,
  :location   => '/usr/sbin/sendmail',
  :arguments  => '-i -t'
Show source
Register or log in to add new notes.