Sha256: 169df96707d4f9f14830ec9fd708ffe55ecf85e7a1feca5968e1f61c4696199e

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
mailboxer-0.1.1 lib/mailboxer.rb
mailboxer-0.1.0 lib/mailboxer.rb