Skip to content

Instantly share code, notes, and snippets.

@a-chernykh
Created April 25, 2011 14:55
Show Gist options
  • Save a-chernykh/940621 to your computer and use it in GitHub Desktop.
Save a-chernykh/940621 to your computer and use it in GitHub Desktop.
Cancel all zencoder jobs
# jobs deletion has been permanently disabled by Zencoder
Zencoder::Job.list.body.map {|j| Zencoder::Job.cancel(j['job']['id'].to_i)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment