Sha256: d593fd5baf5e2677d00213a33d7e98fe81862f0fb8f94308419f0389e52a9274

Contents?: true

Size: 456 Bytes

Versions: 9

Compression:

Stored size: 456 Bytes

Contents

module Mailboxer 
  module Models
    autoload :Messageable, 'mailboxer/models/messageable'
  end  
  module Exceptions
    autoload :NotCompliantModel, 'mailboxer/exceptions'
  end  
  
  mattr_accessor :default_from
  mattr_accessor :uses_emails
  
   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' 

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mailboxer-0.2.5 lib/mailboxer.rb
mailboxer-0.2.4 lib/mailboxer.rb
mailboxer-0.2.3 lib/mailboxer.rb
mailboxer-0.2.2 lib/mailboxer.rb
mailboxer-0.2.1 lib/mailboxer.rb
mailboxer-0.2.0 lib/mailboxer.rb
mailboxer-0.1.4 lib/mailboxer.rb
mailboxer-0.1.3 lib/mailboxer.rb
mailboxer-0.1.2 lib/mailboxer.rb