Class: Kaltura::KalturaCountryRestriction

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

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#country_listObject

Comma separated list of country codes to allow to deny



8168
8169
8170
# File 'lib/kaltura_types.rb', line 8168

def country_list
  @country_list
end

#country_restriction_typeObject

Country restriction type (Allow or deny)



8165
8166
8167
# File 'lib/kaltura_types.rb', line 8165

def country_restriction_type
  @country_restriction_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8174
8175
8176
8177
8178
# File 'lib/kaltura_types.rb', line 8174

def from_xml(xml_element)
	super
	self.country_restriction_type = xml_element.elements['countryRestrictionType'].text
	self.country_list = xml_element.elements['countryList'].text
end