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
11620 11621 11622 |
# File 'lib/kaltura_types.rb', line 11620 def accept_internal_ips @accept_internal_ips end |
#http_header ⇒ Object
http header name for extracting the ip
11623 11624 11625 |
# File 'lib/kaltura_types.rb', line 11623 def http_header @http_header end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
11629 11630 11631 11632 11633 |
# File 'lib/kaltura_types.rb', line 11629 def from_xml(xml_element) super self.accept_internal_ips = xml_element.elements['acceptInternalIps'].text self.http_header = xml_element.elements['httpHeader'].text end |