Class: Kaltura::KalturaCoordinate
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaCoordinate
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#latitude ⇒ Object
Returns the value of attribute latitude.
3517 3518 3519 |
# File 'lib/kaltura_types.rb', line 3517 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
3518 3519 3520 |
# File 'lib/kaltura_types.rb', line 3518 def longitude @longitude end |
#name ⇒ Object
Returns the value of attribute name.
3519 3520 3521 |
# File 'lib/kaltura_types.rb', line 3519 def name @name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 |
# File 'lib/kaltura_types.rb', line 3528 def from_xml(xml_element) super if xml_element.elements['latitude'] != nil self.latitude = xml_element.elements['latitude'].text end if xml_element.elements['longitude'] != nil self.longitude = xml_element.elements['longitude'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end end |