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

#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_tagObject

Returns the value of attribute client_tag.



234
235
236
# File 'lib/kaltura_client_base.rb', line 234

def client_tag
  @client_tag
end

#formatObject

Returns the value of attribute format.



233
234
235
# File 'lib/kaltura_client_base.rb', line 233

def format
  @format
end

#loggerObject

Returns the value of attribute logger.



231
232
233
# File 'lib/kaltura_client_base.rb', line 231

def logger
  @logger
end

#partner_idObject

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_urlObject

Returns the value of attribute service_url.



232
233
234
# File 'lib/kaltura_client_base.rb', line 232

def service_url
  @service_url
end

#timeoutObject

Returns the value of attribute timeout.



235
236
237
# File 'lib/kaltura_client_base.rb', line 235

def timeout
  @timeout
end