Sha256: 8e24ddd4b373277f1610a0ea475a9d688ac25bf0063497edb0e18368d8efdc47

Contents?: true

Size: 404 Bytes

Versions: 8

Compression:

Stored size: 404 Bytes

Contents

# encoding: utf-8
require 'mutx'

module Mutx
  module Workers
    class EmailSender
      include Sidekiq::Worker
      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
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutx-0.1.13 lib/mutx/background_jobs/workers/email_sender.rb
mutx-0.1.12 lib/mutx/background_jobs/workers/email_sender.rb
mutx-0.1.11 lib/mutx/background_jobs/workers/email_sender.rb
mutx-0.1.10 lib/mutx/background_jobs/workers/email_sender.rb
mutx-0.1.9 lib/mutx/background_jobs/workers/email_sender.rb
mutx-0.1.8 lib/mutx/background_jobs/workers/email_sender.rb
mutx-0.1.7 lib/mutx/background_jobs/workers/email_sender.rb
mutx-0.1.6 lib/mutx/background_jobs/workers/email_sender.rb