Class: Kaltura::KalturaUrlRecognizer

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

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

#hostsObject

The hosts that are recognized



3746
3747
3748
# File 'lib/kaltura_types.rb', line 3746

def hosts
  @hosts
end

#uri_prefixObject

The URI prefix we use for security



3748
3749
3750
# File 'lib/kaltura_types.rb', line 3748

def uri_prefix
  @uri_prefix
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3751
3752
3753
3754
3755
3756
3757
3758
3759
# File 'lib/kaltura_types.rb', line 3751

def from_xml(xml_element)
	super
	if xml_element.elements['hosts'] != nil
		self.hosts = xml_element.elements['hosts'].text
	end
	if xml_element.elements['uriPrefix'] != nil
		self.uri_prefix = xml_element.elements['uriPrefix'].text
	end
end