Module: Zencoder

Defined in:
lib/zencoder/http/net_http.rb,
lib/zencoder/job.rb,
lib/zencoder/base.rb,
lib/zencoder/http.rb,
lib/zencoder/errors.rb,
lib/zencoder/output.rb,
lib/zencoder/account.rb,
lib/zencoder/version.rb,
lib/zencoder/response.rb,
lib/zencoder/zencoder.rb,
lib/zencoder/notification.rb,
lib/zencoder/http/typhoeus.rb

Overview

Ruby's Net/HTTP Sucks Borrowed root cert checking from redcorundum.blogspot.com/2008/03/ssl-certificates-and-nethttps.html

Defined Under Namespace

Classes: Account, Base, Error, HTTP, HTTPError, Job, Notification, Output, Response

Constant Summary collapse

GEM_VERSION =
'2.3.1'

Class Method Summary collapse

Class Method Details

.api_keyObject


9
10
11
# File 'lib/zencoder/zencoder.rb', line 9

def self.api_key
  @@api_key || ENV['ZENCODER_API_KEY']
end

.base_url(env = nil) ⇒ Object


13
14
15
# File 'lib/zencoder/zencoder.rb', line 13

def self.base_url(env=nil)
  @@base_url
end