Class: Kaltura::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/kaltura/kaltura_client_base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tagObject

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

#formatObject

Returns the value of attribute format.



219
220
221
# File 'lib/kaltura/kaltura_client_base.rb', line 219

def format
  @format
end

#loggerObject

Returns the value of attribute logger.



217
218
219
# File 'lib/kaltura/kaltura_client_base.rb', line 217

def logger
  @logger
end

#partner_idObject

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_urlObject

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

#timeoutObject

Returns the value of attribute timeout.



221
222
223
# File 'lib/kaltura/kaltura_client_base.rb', line 221

def timeout
  @timeout
end