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

#initializeKalturaConfiguration

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



484
485
486
487
488
489
# File 'lib/kaltura_client_base.rb', line 484

def initialize()
	@service_url 	= "http://www.kaltura.com"
	@format 		= 2 # xml
	@timeout 		= 120
	@requestHeaders = {}
end

Instance Attribute Details

#formatObject

Returns the value of attribute format.



477
478
479
# File 'lib/kaltura_client_base.rb', line 477

def format
  @format
end

#loggerObject

Returns the value of attribute logger.



475
476
477
# File 'lib/kaltura_client_base.rb', line 475

def logger
  @logger
end

#requestHeadersObject

Returns the value of attribute requestHeaders.



479
480
481
# File 'lib/kaltura_client_base.rb', line 479

def requestHeaders
  @requestHeaders
end

#service_urlObject

Returns the value of attribute service_url.



476
477
478
# File 'lib/kaltura_client_base.rb', line 476

def service_url
  @service_url
end

#timeoutObject

Returns the value of attribute timeout.



478
479
480
# File 'lib/kaltura_client_base.rb', line 478

def timeout
  @timeout
end