Class: Job::ReceiveSalmon

Inherits:
Base
  • Object
show all
Defined in:
app/models/jobs/receive_salmon.rb

Class Method Summary (collapse)

Methods inherited from Base

perform

Methods included from ResqueJobLogging

#application_trace, #around_perform_log_job

Class Method Details

+ (Object) perform_delegate(user_id, xml)



11
12
13
14
15
# File 'app/models/jobs/receive_salmon.rb', line 11

def self.perform_delegate(user_id, xml)
  user = User.find(user_id)
  zord = Postzord::Receiver.new(user, :salmon_xml => xml)
  zord.perform
end