Class: Zencoder::Output

Inherits:
Base
  • Object
show all
Defined in:
lib/zencoder/output.rb

Class Method Summary collapse

Methods inherited from Base

api_key, base_url, decode, #decode, encode, #encode

Class Method Details

.progress(output_id, options = {}) ⇒ Object


4
5
6
7
# File 'lib/zencoder/output.rb', line 4

def self.progress(output_id, options={})
  params = {:api_key => options.delete(:api_key) || api_key}
  HTTP.get("#{options[:base_url] || base_url}/outputs/#{output_id}/progress", merge_params(options, params))
end