Sha256: 39d8127165a860ee2dcb27d1eef807d22990ec9831425e76cd300da657ece211
Contents?: true
Size: 324 Bytes
Versions: 15
Compression:
Stored size: 324 Bytes
Contents
class NotificationWorker def queue_name :help_request_notifications end attr_accessor :help_request_id def initialize(help_request_id) self.help_request_id = help_request_id end def run help_request = HelpRequest.find(help_request_id) NotificationMailer.notify(help_request).deliver end end
Version data entries
15 entries across 15 versions & 1 rubygems