Module: Mailboxer

Defined in:
lib/mailboxer.rb,
lib/mailboxer/engine.rb,
lib/mailboxer/version.rb,
lib/mailboxer/cleaner.rb,
lib/mailboxer/mail_dispatcher.rb,
lib/mailboxer/models/messageable.rb,
app/models/mailboxer/conversation/opt_out.rb

Defined Under Namespace

Modules: Models Classes: AttachmentUploader, BaseBuilder, BaseMailer, Cleaner, Conversation, ConversationBuilder, Engine, InstallGenerator, MailDispatcher, Mailbox, Message, MessageBuilder, MessageMailer, NamespacingCompatibilityGenerator, Notification, NotificationBuilder, NotificationMailer, Receipt, ReceiptBuilder, ViewsGenerator

Constant Summary collapse

VERSION =
"0.12.4"
@@default_from =
"[email protected]"
@@uses_emails =
true
@@mailer_wants_array =
false
@@search_enabled =
false
@@search_engine =
:solr
@@email_method =
:mailboxer_email
@@name_method =
:name
@@subject_max_length =
255
@@body_max_length =
32000

Class Method Summary collapse

Class Method Details

.protected_attributes?Boolean

Returns:

  • (Boolean)

33
34
35
# File 'lib/mailboxer.rb', line 33

def protected_attributes?
  Rails.version < '4' || defined?(ProtectedAttributes)
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Mailboxer)

    the object that the method was called on


29
30
31
# File 'lib/mailboxer.rb', line 29

def setup
  yield self
end