Class: Kaltura::KalturaDistributionThumbDimensions

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_content_distribution_client_plugin.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

#heightObject

Returns the value of attribute height.



321
322
323
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 321

def height
  @height
end

#widthObject

Returns the value of attribute width.



320
321
322
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 320

def width
  @width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



330
331
332
333
334
335
336
337
338
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 330

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