Sha256: 097c368c5ee2f5b6a9fd625a15e8d3d82ead263439fd47d6c0c1b0cff29dee01

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

# Class configured to Notify via DelayedJob
module Kublog
  module Notification
    class EmailJob        
      def initialize(post, user)
        @post, @user = post, user
      end
  
      def perform
        PostMailer.new_post(@post, @user).deliver
      end      
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kublog-0.0.1.1 lib/kublog/notification/email_job.rb