Skip to content

Instantly share code, notes, and snippets.

@jtushman
Created November 14, 2011 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtushman/1364960 to your computer and use it in GitHub Desktop.
Save jtushman/1364960 to your computer and use it in GitHub Desktop.
zencoder job
module Zencoder
class Job < Base
def self.create(params={}, options={})
params = apply_api_key(params, options[:format])
HTTP.post("#{options[:base_url] || base_url}/jobs",
encode(params, options[:format]),
options)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment