Add rake desc.

This commit is contained in:
BoHung Chiu 2021-10-06 12:22:59 +08:00
parent b4eaea059e
commit 8c6a48acb0
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# desc "Explaining what the task does" # desc "Explaining what the task does"
namespace :epaper do namespace :epaper do
desc 'Send epaper emails'
task :send_email, [:paper_criteria_id, :domain, :locale] => :environment do |task,args| task :send_email, [:paper_criteria_id, :domain, :locale] => :environment do |task,args|
require 'net/protocol' require 'net/protocol'
require 'timeout' require 'timeout'