Module: Inquisitor
- Defined in:
- lib/inquisitor.rb,
lib/inquisitor/web.rb,
lib/inquisitor/node.rb,
lib/inquisitor/contact.rb,
lib/inquisitor/version.rb,
lib/inquisitor/settings.rb
Defined Under Namespace
Classes: Contact, Node, Settings, Web
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.create_outpost(name = '') ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/inquisitor.rb', line 14 def create_outpost(name = '') outpost = Outpost::Application.new outpost.name = name Inquisitor::Contact.all.each do |contact| outpost.add_notifier Outpost::Notifiers::Email, { :from => Inquisitor.settings.mail_from, :to => contact.email, :subject => Inquisitor.settings.mail_subject } end outpost end |