Class: Kaltura::KalturaAssetServeOptions

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

#downloadObject

Returns the value of attribute download.



821
822
823
# File 'lib/kaltura_types.rb', line 821

def download
  @download
end

#referrerObject

Returns the value of attribute referrer.



822
823
824
# File 'lib/kaltura_types.rb', line 822

def referrer
  @referrer
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



828
829
830
831
832
833
834
835
836
# File 'lib/kaltura_types.rb', line 828

def from_xml(xml_element)
	super
	if xml_element.elements['download'] != nil
		self.download = xml_element.elements['download'].text
	end
	if xml_element.elements['referrer'] != nil
		self.referrer = xml_element.elements['referrer'].text
	end
end