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.



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

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.



472
473
474
# File 'lib/kaltura_client_base.rb', line 472

def format
  @format
end

#loggerObject

Returns the value of attribute logger.



470
471
472
# File 'lib/kaltura_client_base.rb', line 470

def logger
  @logger
end

#requestHeadersObject

Returns the value of attribute requestHeaders.



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

def requestHeaders
  @requestHeaders
end

#service_urlObject

Returns the value of attribute service_url.



471
472
473
# File 'lib/kaltura_client_base.rb', line 471

def service_url
  @service_url
end

#timeoutObject

Returns the value of attribute timeout.



473
474
475
# File 'lib/kaltura_client_base.rb', line 473

def timeout
  @timeout
end