receive

receive(raw_mail) Class Public methods Receives a raw email, parses it into an email object, decodes it, instantiates a new mailer, and passes the email object to the mailer object's receive method. If you want your mailer to be able to process incoming messages, you'll need to implement a receive method that accepts the raw email string as a parameter: class MyMailer < ActionMailer::Base def receive(mail) # ... end end

_normalize_callback_options

_normalize_callback_options(options) Instance Public methods If :only or :except are used, convert the options into the :unless and :if options of ActiveSupport::Callbacks. The basic idea is that :only => :index gets converted to :if => proc {|c| c.action_name == âindexâ }. Options only - The callback should be run only for this action except - The callback should be run for all actions except this action

close

close() Instance Public methods Check the connection back in to the connection pool

session_auth=

session_auth=(user) Instance Public methods Set the authorized user for this session

new

new(connection, logger, config) Class Public methods

has_key?

has_key?(key) Instance Public methods Alias for: key?

autoload_once_paths

autoload_once_paths() Instance Public methods

type

type() Instance Public methods

current

current() Class Public methods Returns Time.zone.now.to_datetime when Time.zone or config.time_zone are set, otherwise returns Time.now.to_datetime.

authenticate_with_http_token

authenticate_with_http_token(&login_procedure) Instance Public methods