Module: Howlr

Includes:
Models, Picnic::Authentication
Defined in:
lib/howlr.rb,
lib/howlr/version.rb

Defined Under Namespace

Modules: Controllers, Deliverers, VERSION, Views Classes: Message

Class Method Summary collapse

Class Method Details

.authenticate(credentials) ⇒ Object



38
39
40
41
# File 'lib/howlr.rb', line 38

def self.authenticate(credentials)
  credentials[:username] == $CONF[:authentication][:username] &&
    credentials[:password] == $CONF[:authentication][:password]
end

.createObject



48
49
50
51
# File 'lib/howlr.rb', line 48

def Howlr.create
  Howlr::Deliverers::Email::Mailer.delivery_method = $CONF[:mailer][:delivery_method]
  Howlr::Deliverers::Email::Mailer.smtp_settings = $CONF[:mailer][:smtp_settings]
end