cartodb/lib/resque/reporter_jobs.rb
2020-06-15 10:58:47 +08:00

16 lines
327 B
Ruby

require_relative './base_job'
module Resque
module Reporter
module Mail
module TrendingMapsReport
@queue = :users
def self.perform(mail_to, trending_visualizations)
ReporterMailer.trending_maps_report(mail_to, trending_visualizations).deliver_now
end
end
end
end
end