18 lines
369 B
Ruby
18 lines
369 B
Ruby
|
require_relative './base_job'
|
||
|
|
||
|
module Resque
|
||
|
module Reporter
|
||
|
module Mail
|
||
|
module TrendingMapsReport
|
||
|
include Carto::Common::JobLogger
|
||
|
|
||
|
@queue = :users
|
||
|
|
||
|
def self.perform(mail_to, trending_visualizations)
|
||
|
ReporterMailer.trending_maps_report(mail_to, trending_visualizations).deliver_now
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|