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.
-
#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)) ⇒ KalturaConfiguration
constructor
A new instance of KalturaConfiguration.
Constructor Details
#initialize(partner_id = -1)) ⇒ KalturaConfiguration
Returns a new instance of KalturaConfiguration.
238 239 240 241 242 243 244 |
# File 'lib/kaltura_client_base.rb', line 238 def initialize(partner_id = -1) @service_url = "http://www.kaltura.com" @format = 2 # xml @client_tag = "ruby" @timeout = 10 @partner_id = partner_id end |
Instance Attribute Details
#client_tag ⇒ Object
Returns the value of attribute client_tag.
234 235 236 |
# File 'lib/kaltura_client_base.rb', line 234 def client_tag @client_tag end |
#format ⇒ Object
Returns the value of attribute format.
233 234 235 |
# File 'lib/kaltura_client_base.rb', line 233 def format @format end |
#logger ⇒ Object
Returns the value of attribute logger.
231 232 233 |
# File 'lib/kaltura_client_base.rb', line 231 def logger @logger end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
236 237 238 |
# File 'lib/kaltura_client_base.rb', line 236 def partner_id @partner_id end |
#service_url ⇒ Object
Returns the value of attribute service_url.
232 233 234 |
# File 'lib/kaltura_client_base.rb', line 232 def service_url @service_url end |
#timeout ⇒ Object
Returns the value of attribute timeout.
235 236 237 |
# File 'lib/kaltura_client_base.rb', line 235 def timeout @timeout end |