Class: Mutx::Workers::EmailSender

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/mutx/background_jobs/workers/email_sender.rb

Instance Method Summary collapse

Instance Method Details

#perform(result_id) ⇒ Object



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/mutx/background_jobs/workers/email_sender.rb', line 8

def perform(result_id)

  puts result_id

  Mutx::Support::Configuration.get
  Mutx::Database::MongoConnector.new Mutx::Support::Configuration.db_connection_data

  result = Mutx::Results::Result.get(result_id)
  puts result

end