Module: Bitmovin

Defined in:
lib/bitmovin-ruby.rb,
lib/bitmovin/client.rb,
lib/bitmovin/version.rb,
lib/bitmovin/encoding.rb,
lib/bitmovin/resource.rb,
lib/bitmovin/webhooks.rb,
lib/bitmovin/input_resource.rb,
lib/bitmovin/child_collection.rb,
lib/bitmovin/configuration_resource.rb

Defined Under Namespace

Modules: ChildCollection, Encoding, Helpers, Webhooks Classes: Client, ConfigurationResource, InputResource, Resource

Constant Summary collapse

VERSION =
"0.9.1"
@@client =
nil

Class Method Summary collapse

Class Method Details

.clientObject



30
31
32
# File 'lib/bitmovin-ruby.rb', line 30

def self.client
  @@client
end

.init(api_key, organisation_id = nil) ⇒ Object



26
27
28
# File 'lib/bitmovin-ruby.rb', line 26

def self.init(api_key, organisation_id = nil)
  @@client = Client.new({ api_key: api_key, organisation_id: organisation_id })
end