Sha256: 46183521319a180b6ee3e280eb1c2ccb7ea4cedbabf6c0145d318cf7765d7aca
Contents?: true
Size: 797 Bytes
Versions: 9
Compression:
Stored size: 797 Bytes
Contents
module Mailboxer module Models autoload :Messageable, 'mailboxer/models/messageable' end mattr_accessor :default_from @@default_from = "no-reply@mailboxer.com" mattr_accessor :uses_emails @@uses_emails = true mattr_accessor :search_enabled @@search_enabled = false mattr_accessor :search_engine @@search_engine = :solr mattr_accessor :email_method @@email_method = :mailboxer_email mattr_accessor :name_method @@name_method = :name mattr_accessor :notification_mailer mattr_accessor :message_mailer class << self def setup yield self end end end # reopen ActiveRecord and include all the above to make # them available to all our models if they want it require 'mailboxer/engine' require 'mailboxer/concerns/configurable_mailer'
Version data entries
9 entries across 9 versions & 2 rubygems