Class: Kaltura::KalturaClientConfiguration

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Overview

Define client optional configurations

/

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



2851
2852
2853
# File 'lib/kaltura_types.rb', line 2851

def api_version
  @api_version
end

#client_tagObject

Returns the value of attribute client_tag.



2850
2851
2852
# File 'lib/kaltura_types.rb', line 2850

def client_tag
  @client_tag
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2854
2855
2856
2857
2858
2859
2860
2861
2862
# File 'lib/kaltura_types.rb', line 2854

def from_xml(xml_element)
  super
  if xml_element.elements['clientTag'] != nil
    self.client_tag = xml_element.elements['clientTag'].text
  end
  if xml_element.elements['apiVersion'] != nil
    self.api_version = xml_element.elements['apiVersion'].text
  end
end