Sha256: 30038d3554866911ffaaf6d82b4607ca0284ad1950186002cd0701e80e788afe

Contents?: true

Size: 175 Bytes

Versions: 10

Compression:

Stored size: 175 Bytes

Contents

module Delayed
  class PerformableMailer
    def perform
      ShallowMongoid.load(object).send(method_name, *args.map{|a| ShallowMongoid.load(a) }).deliver
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
delayed_job_shallow_mongoid-0.3.0 lib/delayed/shallow_mongoid/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.8 lib/delayed/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.7 lib/delayed/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.6 lib/delayed/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.5 lib/delayed/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.4 lib/delayed/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.3 lib/delayed/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.2 lib/delayed/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.1 lib/delayed/performable_mailer.rb
delayed_job_shallow_mongoid-0.2.0 lib/delayed/performable_mailer.rb