Created
November 14, 2011 19:57
-
-
Save jtushman/1364960 to your computer and use it in GitHub Desktop.
zencoder job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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