Module: Bitmovin
- Defined in:
- lib/bitmovin.rb,
lib/bitmovin/job.rb,
lib/bitmovin/input.rb,
lib/bitmovin/client.rb,
lib/bitmovin/output.rb,
lib/bitmovin/helpers.rb,
lib/bitmovin/version.rb,
lib/bitmovin/transfer_job.rb,
lib/bitmovin/encoding_profile.rb
Defined Under Namespace
Modules: Helpers
Classes: ApiParameterEmptyError, Client, EncodingProfile, Input, Job, Output, TransferJob
Constant Summary
collapse
- API_URL =
'https://portal.bitcodin.com/api'
- API_URI =
URI(API_URL)
- VERSION =
"0.0.4"
- @@api_key =
nil
- @@http =
Net::HTTP.new API_URI.host, API_URI.port
Class Method Summary
collapse
Class Method Details
.api_key ⇒ Object
30
31
32
|
# File 'lib/bitmovin.rb', line 30
def api_key
@@api_key
end
|
.api_key=(key) ⇒ Object
22
23
24
|
# File 'lib/bitmovin.rb', line 22
def api_key=(key)
@@api_key = key
end
|
.http ⇒ Object
26
27
28
|
# File 'lib/bitmovin.rb', line 26
def http
@@http
end
|