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.



558
559
560
561
562
563
# File 'lib/kaltura_client_base.rb', line 558

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.



551
552
553
# File 'lib/kaltura_client_base.rb', line 551

def format
  @format
end

#http_proxyObject

Returns the value of attribute http_proxy.



550
551
552
# File 'lib/kaltura_client_base.rb', line 550

def http_proxy
  @http_proxy
end

#loggerObject

Returns the value of attribute logger.



548
549
550
# File 'lib/kaltura_client_base.rb', line 548

def logger
  @logger
end

#requestHeadersObject

Returns the value of attribute requestHeaders.



553
554
555
# File 'lib/kaltura_client_base.rb', line 553

def requestHeaders
  @requestHeaders
end

#service_urlObject

Returns the value of attribute service_url.



549
550
551
# File 'lib/kaltura_client_base.rb', line 549

def service_url
  @service_url
end

#timeoutObject

Returns the value of attribute timeout.



552
553
554
# File 'lib/kaltura_client_base.rb', line 552

def timeout
  @timeout
end