Class: Kaltura::KalturaCountryContextField
- Inherits:
-
KalturaStringField
- Object
- KalturaObjectBase
- KalturaValue
- KalturaStringValue
- KalturaStringField
- Kaltura::KalturaCountryContextField
- Defined in:
- lib/kaltura_types.rb
Overview
Represents the current request country context as calculated based on the IP address
Instance Attribute Summary collapse
-
#geo_coder_type ⇒ Object
The ip geo coder engine to be used.
Attributes inherited from KalturaStringValue
Attributes inherited from KalturaValue
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#geo_coder_type ⇒ Object
The ip geo coder engine to be used
18139 18140 18141 |
# File 'lib/kaltura_types.rb', line 18139 def geo_coder_type @geo_coder_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
18142 18143 18144 18145 18146 18147 |
# File 'lib/kaltura_types.rb', line 18142 def from_xml(xml_element) super if xml_element.elements['geoCoderType'] != nil self.geo_coder_type = xml_element.elements['geoCoderType'].text end end |