Commit 2da65f25

mo khan <mo@mokhan.ca>
2014-05-17 00:11:33
publish to twitter from delayed jobs.
1 parent a2ffa1d
Changed files (1)
app/services/twitter_publisher.rb
@@ -7,6 +7,8 @@ class TwitterPublisher
     target.publish_message_with(create_client) unless Rails.env.test?
   end
 
+  handle_asynchronously :publish
+
   private
 
   def create_client