Class: Kaltura::KalturaConfiguration
- Inherits:
-
Object
- Object
- Kaltura::KalturaConfiguration
- Defined in:
- lib/kaltura_client_base.rb
Instance Attribute Summary collapse
-
#client_tag ⇒ Object
Returns the value of attribute client_tag.
-
#format ⇒ Object
Returns the value of attribute format.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#requestHeaders ⇒ Object
Returns the value of attribute requestHeaders.
-
#service_url ⇒ Object
Returns the value of attribute service_url.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize(partner_id = -1,, service_url = "http://www.kaltura.com") ⇒ KalturaConfiguration
constructor
Adding service_url to the initialize signature to pass url to your own kaltura ce instance Default is still set to www.kaltura.com.
Constructor Details
#initialize(partner_id = -1,, service_url = "http://www.kaltura.com") ⇒ KalturaConfiguration
Adding service_url to the initialize signature to pass url to your own kaltura ce instance Default is still set to www.kaltura.com.
368 369 370 371 372 373 374 375 |
# File 'lib/kaltura_client_base.rb', line 368 def initialize(partner_id = -1,service_url="http://www.kaltura.com") @service_url = service_url @format = 2 # xml @client_tag = "ruby:14-01-16" @timeout = 120 @partner_id = partner_id @requestHeaders = {} end |
Instance Attribute Details
#client_tag ⇒ Object
Returns the value of attribute client_tag.
358 359 360 |
# File 'lib/kaltura_client_base.rb', line 358 def client_tag @client_tag end |
#format ⇒ Object
Returns the value of attribute format.
357 358 359 |
# File 'lib/kaltura_client_base.rb', line 357 def format @format end |
#logger ⇒ Object
Returns the value of attribute logger.
355 356 357 |
# File 'lib/kaltura_client_base.rb', line 355 def logger @logger end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
360 361 362 |
# File 'lib/kaltura_client_base.rb', line 360 def partner_id @partner_id end |
#requestHeaders ⇒ Object
Returns the value of attribute requestHeaders.
361 362 363 |
# File 'lib/kaltura_client_base.rb', line 361 def requestHeaders @requestHeaders end |
#service_url ⇒ Object
Returns the value of attribute service_url.
356 357 358 |
# File 'lib/kaltura_client_base.rb', line 356 def service_url @service_url end |
#timeout ⇒ Object
Returns the value of attribute timeout.
359 360 361 |
# File 'lib/kaltura_client_base.rb', line 359 def timeout @timeout end |