Sha256: 05abf544da3eb1b7259f0bf8085e6a283a51cf073e94fc9b10be40aecfab5a76
Contents?: true
Size: 1.09 KB
Versions: 13
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true # Copyright (c) 2008-2013 Michael Dvorkin and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ namespace :ffcrm do namespace :comment_replies do desc "Run comment inbox crawler and process incoming emails" task run: :environment do require "fat_free_crm/mail_processor/comment_replies" FatFreeCRM::MailProcessor::CommentReplies.new.run(false) end namespace :run do desc "[Dry run] - Run comment inbox crawler and process incoming emails" task dry: :environment do require "fat_free_crm/mail_processor/comment_replies" FatFreeCRM::MailProcessor::CommentReplies.new.run(true) end end desc "Set up comment inbox based on currently loaded settings" task setup: :environment do require "fat_free_crm/mail_processor/comment_replies" FatFreeCRM::MailProcessor::CommentReplies.new.setup end end end
Version data entries
13 entries across 13 versions & 1 rubygems