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.



495
496
497
498
499
500
# File 'lib/kaltura_client_base.rb', line 495

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.



488
489
490
# File 'lib/kaltura_client_base.rb', line 488

def format
  @format
end

#http_proxyObject

Returns the value of attribute http_proxy.



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

def http_proxy
  @http_proxy
end

#loggerObject

Returns the value of attribute logger.



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

def logger
  @logger
end

#requestHeadersObject

Returns the value of attribute requestHeaders.



490
491
492
# File 'lib/kaltura_client_base.rb', line 490

def requestHeaders
  @requestHeaders
end

#service_urlObject

Returns the value of attribute service_url.



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

def service_url
  @service_url
end

#timeoutObject

Returns the value of attribute timeout.



489
490
491
# File 'lib/kaltura_client_base.rb', line 489

def timeout
  @timeout
end