Class: Kaltura::KalturaDistributionThumbDimensions
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaDistributionThumbDimensions
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#width ⇒ Object
Returns the value of attribute width.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
286 287 288 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 286 def height @height end |
#width ⇒ Object
Returns the value of attribute width.
285 286 287 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 285 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
295 296 297 298 299 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 295 def from_xml(xml_element) super self.width = xml_element.elements['width'].text self.height = xml_element.elements['height'].text end |