locally when Resque tried to constantize Jobs::Mail Object.const_get("Jobs") returned our Jobs module but when it tried to const_get("Mail") it returned the Mail gem.
added copyright
15 lines
384 B
Ruby
15 lines
384 B
Ruby
# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
# licensed under the Affero General Public License version 3 or later. See
|
|
# the COPYRIGHT file.
|
|
|
|
module Jobs
|
|
module Mailers
|
|
class Liked < Base
|
|
@queue = :mail
|
|
def self.perform(recipient_id, sender_id, like_id)
|
|
Notifier.liked(recipient_id, sender_id, like_id).deliver
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|