Class: Kaltura::KalturaAnonymousIPContextField

Inherits:
KalturaStringField show all
Defined in:
lib/kaltura_types.rb

Overview

Represents the current request country context as calculated based on the IP address

Instance Attribute Summary collapse

Attributes inherited from KalturaStringValue

#value

Attributes inherited from KalturaValue

#description

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#geo_coder_typeObject

The ip geo coder engine to be used



17969
17970
17971
# File 'lib/kaltura_types.rb', line 17969

def geo_coder_type
  @geo_coder_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



17972
17973
17974
17975
17976
17977
# File 'lib/kaltura_types.rb', line 17972

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