Padrino::Mailer::Helpers::ClassMethods
Module: Padrino::Mailer::Helpers::ClassMethods
Overview
Class methods responsible for registering mailers, configuring settings and delivering messages.
Instance Method Summary
-
#deliver(mailer_name, message_name, *attributes) ⇒ Object
Delivers a mailer message email with the given attributes. -
#email(mail_attributes = {}, &block) ⇒ Object
Delivers an email with the given mail attributes with specified and default settings. -
#inherited(subclass) ⇒ Object
-
#mailer(name, &block) ⇒ Object (also: #mailers)
Defines a mailer object allowing the definition of various email messages that can be delivered. -
#registered_mailers ⇒ Object
Returns all registered mailers for this application.
Instance Method Details
#deliver(mailer_name, message_name, *attributes) ⇒ Object
Delivers a mailer message email with the given attributes.
#email(mail_attributes = {}, &block) ⇒ Object
Delivers an email with the given mail attributes with specified and default settings.
#inherited(subclass) ⇒ Object
#mailer(name, &block) ⇒ Object Also known as: mailers
Defines a mailer object allowing the definition of various email messages that can be delivered.
#registered_mailers ⇒ Object
Returns all registered mailers for this application.
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Mailer/Helpers/ClassMethods