Module: Facteur

Extended by:
ActiveSupport::Autoload
Defined in:
lib/facteur.rb,
lib/facteur/mailbox.rb,
lib/facteur/message.rb,
lib/facteur/version.rb,
lib/facteur/mailbox_model.rb,
lib/facteur/message_model.rb,
lib/facteur/addressee_model.rb,
lib/facteur/base_addressee_model.rb,
lib/facteur/mongoid_mailbox_model.rb,
lib/facteur/mongoid_message_model.rb,
lib/facteur/mongoid_addressee_model.rb,
lib/facteur/active_record_mailbox_model.rb,
lib/facteur/active_record_message_model.rb,
lib/facteur/active_record_addressee_model.rb,
lib/generators/facteur/install/install_generator.rb

Defined Under Namespace

Modules: ActiveRecordAddresseeModel, ActiveRecordMailboxModel, ActiveRecordMessageModel, AddresseeModel, BaseAddresseeModel, Generators, MailboxModel, MessageModel, MongoidAddresseeModel, MongoidMailboxModel, MongoidMessageModel Classes: Mailbox, Message

Constant Summary collapse

VERSION =
"1.3.0"

Class Method Summary collapse

Class Method Details

.addressee_modelObject



18
19
20
# File 'lib/facteur.rb', line 18

def self.addressee_model
  @addressee_model || "User"
end

.addressee_model=(model) ⇒ Object



22
23
24
# File 'lib/facteur.rb', line 22

def self.addressee_model=(model)
  @addressee_model = model
end