Class: Kaltura::KalturaSiteRestriction
- Inherits:
-
KalturaBaseRestriction
- Object
- KalturaObjectBase
- KalturaBaseRestriction
- Kaltura::KalturaSiteRestriction
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#site_list ⇒ Object
Comma separated list of sites (domains) to allow or deny.
-
#site_restriction_type ⇒ Object
The site restriction type (allow or deny).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#site_list ⇒ Object
Comma separated list of sites (domains) to allow or deny
14535 14536 14537 |
# File 'lib/kaltura_types.rb', line 14535 def site_list @site_list end |
#site_restriction_type ⇒ Object
The site restriction type (allow or deny)
14533 14534 14535 |
# File 'lib/kaltura_types.rb', line 14533 def site_restriction_type @site_restriction_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
14541 14542 14543 14544 14545 14546 14547 14548 14549 |
# File 'lib/kaltura_types.rb', line 14541 def from_xml(xml_element) super if xml_element.elements['siteRestrictionType'] != nil self.site_restriction_type = xml_element.elements['siteRestrictionType'].text end if xml_element.elements['siteList'] != nil self.site_list = xml_element.elements['siteList'].text end end |