Class: Kaltura::Configuration
- Inherits:
-
Object
- Object
- Kaltura::Configuration
- Defined in:
- lib/kaltura/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)) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(partner_id = -1)) ⇒ Configuration
Returns a new instance of Configuration.
224 225 226 227 228 229 230 |
# File 'lib/kaltura/kaltura_client_base.rb', line 224 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.
220 221 222 |
# File 'lib/kaltura/kaltura_client_base.rb', line 220 def client_tag @client_tag end |
#format ⇒ Object
Returns the value of attribute format.
219 220 221 |
# File 'lib/kaltura/kaltura_client_base.rb', line 219 def format @format end |
#logger ⇒ Object
Returns the value of attribute logger.
217 218 219 |
# File 'lib/kaltura/kaltura_client_base.rb', line 217 def logger @logger end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
222 223 224 |
# File 'lib/kaltura/kaltura_client_base.rb', line 222 def partner_id @partner_id end |
#service_url ⇒ Object
Returns the value of attribute service_url.
218 219 220 |
# File 'lib/kaltura/kaltura_client_base.rb', line 218 def service_url @service_url end |
#timeout ⇒ Object
Returns the value of attribute timeout.
221 222 223 |
# File 'lib/kaltura/kaltura_client_base.rb', line 221 def timeout @timeout end |