Skip to content

Commit

Permalink
[ci skip] fix typo in set examples
Browse files Browse the repository at this point in the history
  • Loading branch information
y-yagi committed Sep 27, 2014
1 parent 7c4a623 commit ab22946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activejob/lib/active_job/core.rb
Expand Up @@ -40,9 +40,9 @@ def deserialize(job_data)
#
# VideoJob.set(queue: :some_queue).perform_later(Video.last)
# VideoJob.set(wait: 5.minutes).perform_later(Video.last)
# VideoJob.set(wait_until: Time.tomorroe).perform_later(Video.last)
# VideoJob.set(wait_until: Time.now.tomorrow).perform_later(Video.last)
# VideoJob.set(queue: :some_queue, wait: 5.minutes).perform_later(Video.last)
# VideoJob.set(queue: :some_queue, wait_until: Time.tomorroe).perform_later(Video.last)
# VideoJob.set(queue: :some_queue, wait_until: Time.now.tomorrow).perform_later(Video.last)
def set(options={})
ConfiguredJob.new(self, options)
end
Expand Down

0 comments on commit ab22946

Please sign in to comment.