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.



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

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.



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

def format
  @format
end

#loggerObject

Returns the value of attribute logger.



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

def logger
  @logger
end

#requestHeadersObject

Returns the value of attribute requestHeaders.



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

def requestHeaders
  @requestHeaders
end

#service_urlObject

Returns the value of attribute service_url.



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

def service_url
  @service_url
end

#timeoutObject

Returns the value of attribute timeout.



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

def timeout
  @timeout
end