Class: Kaltura::KalturaIpAddressCondition
- Inherits:
-
KalturaMatchCondition
- Object
- KalturaObjectBase
- KalturaCondition
- KalturaMatchCondition
- Kaltura::KalturaIpAddressCondition
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#accept_internal_ips ⇒ Object
allow internal ips.
-
#http_header ⇒ Object
http header name for extracting the ip.
Attributes inherited from KalturaMatchCondition
Attributes inherited from KalturaCondition
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#accept_internal_ips ⇒ Object
allow internal ips
16945 16946 16947 |
# File 'lib/kaltura_types.rb', line 16945 def accept_internal_ips @accept_internal_ips end |
#http_header ⇒ Object
http header name for extracting the ip
16947 16948 16949 |
# File 'lib/kaltura_types.rb', line 16947 def http_header @http_header end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
16953 16954 16955 16956 16957 16958 16959 16960 16961 |
# File 'lib/kaltura_types.rb', line 16953 def from_xml(xml_element) super if xml_element.elements['acceptInternalIps'] != nil self.accept_internal_ips = xml_element.elements['acceptInternalIps'].text end if xml_element.elements['httpHeader'] != nil self.http_header = xml_element.elements['httpHeader'].text end end |