class Kaltura::KalturaUserAgentRestriction
Attributes
user_agent_regex_list[RW]
A comma seperated list of user agent regular expressions
user_agent_restriction_type[RW]
User agent restriction type (Allow or deny)
Public Instance Methods
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaBaseRestriction#from_xml
# File lib/kaltura_types.rb, line 15954 def from_xml(xml_element) super if xml_element.elements['userAgentRestrictionType'] != nil self.user_agent_restriction_type = xml_element.elements['userAgentRestrictionType'].text end if xml_element.elements['userAgentRegexList'] != nil self.user_agent_regex_list = xml_element.elements['userAgentRegexList'].text end end
user_agent_restriction_type=(val)
click to toggle source
# File lib/kaltura_types.rb, line 15950 def user_agent_restriction_type=(val) @user_agent_restriction_type = val.to_i end