Sha256: 0a13129c76b72d931c8bdec3d8c171022b76d523b844294971b9851b55b06ac9

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

# Class configured to Notify via DelayedJob
module Kublog
  module Notification
    class TweetJob    
          
      def initialize(tweet, post)
        @tweet, @post = tweet, post
      end
  
      def perform
        Post.safe_twitter_update(@tweet, @post)
      end      
      
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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