Class: Kaltura::KalturaConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/kaltura_client_base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(partner_id = -1,, service_url = "http://www.kaltura.com") ⇒ KalturaConfiguration

Adding service_url to the initialize signature to pass url to your own kaltura ce instance Default is still set to www.kaltura.com.



368
369
370
371
372
373
374
375
# File 'lib/kaltura_client_base.rb', line 368

def initialize(partner_id = -1,service_url="http://www.kaltura.com")
	@service_url 	= service_url
	@format 		= 2 # xml
	@client_tag 	= "ruby:14-01-16"
	@timeout 		= 120
	@partner_id 	= partner_id
	@requestHeaders = {}
end

Instance Attribute Details

#client_tagObject

Returns the value of attribute client_tag.



358
359
360
# File 'lib/kaltura_client_base.rb', line 358

def client_tag
  @client_tag
end

#formatObject

Returns the value of attribute format.



357
358
359
# File 'lib/kaltura_client_base.rb', line 357

def format
  @format
end

#loggerObject

Returns the value of attribute logger.



355
356
357
# File 'lib/kaltura_client_base.rb', line 355

def logger
  @logger
end

#partner_idObject

Returns the value of attribute partner_id.



360
361
362
# File 'lib/kaltura_client_base.rb', line 360

def partner_id
  @partner_id
end

#requestHeadersObject

Returns the value of attribute requestHeaders.



361
362
363
# File 'lib/kaltura_client_base.rb', line 361

def requestHeaders
  @requestHeaders
end

#service_urlObject

Returns the value of attribute service_url.



356
357
358
# File 'lib/kaltura_client_base.rb', line 356

def service_url
  @service_url
end

#timeoutObject

Returns the value of attribute timeout.



359
360
361
# File 'lib/kaltura_client_base.rb', line 359

def timeout
  @timeout
end