Sha256: a7932f5c3a8894194a805e44e02c8ce128217310516d90a5629280e56663a53c
Contents?: true
Size: 447 Bytes
Versions: 8
Compression:
Stored size: 447 Bytes
Contents
desc "Send notify emails to users submited their email to underconstruction page" namespace :under_construction do task :send_mails => :environment do if File.exist? Rails.root + "db/under_construction_mails.txt" UnderConstructionEmailStorage.emails.each do |email| NotifyUnderConstructionSubmittedMails.under_construction_notify(email.chomp).deliver end else puts "There's no email submitted" end end end
Version data entries
8 entries across 8 versions & 1 rubygems