Sha256: 3b8ca4b76943869b0e086075f8c2d3058ab18486ad3a40bb9c48d5f67160ad6f

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

module Kublog
  class DeliverComment
  
    def initialize(comment_id)
      @comment_id = comment_id
    end
  
    def perform
      comment = Comment.find(@comment_id)
      CommentMailer.new_comment(comment).deliver
    end
  
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kublog-0.9.0 app/jobs/kublog/deliver_comment.rb