diff options
| author | mo khan <mo@mokhan.ca> | 2014-05-16 18:11:33 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-05-16 18:11:33 -0600 |
| commit | 2da65f259f34f2f1561baecf4da664ee8ea708cb (patch) | |
| tree | 4af410d89148173e507085ae1c31f9c0729aed07 | |
| parent | a2ffa1d332536af4dbaa9524d18e9b463e97ddb2 (diff) | |
publish to twitter from delayed jobs.
| -rw-r--r-- | app/services/twitter_publisher.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/twitter_publisher.rb b/app/services/twitter_publisher.rb index 6e1d0848..fddfbca7 100644 --- a/app/services/twitter_publisher.rb +++ b/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 |
