lib/rsaml/proxy_restriction.rb
# Construct an XML fragment representing the proxy restriction
Construct an XML fragment representing the proxy restriction
Construct an XML fragment representing the proxy restriction
def to_xml(xml=Builder::XmlMarkup.new)
      attributes = {}
      attributes['Count'] = count unless count.nil?
      xml.tag!('saml:ProxyRestriction', attributes) {
        audiences.each { |audience| xml << audience.to_xml }
      }
    end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { } attributes [ 'Count' ] = count unless count . nil? xml . tag! ( 'saml:ProxyRestriction' , attributes ) { audiences . each { | audience | xml << audience . to_xml } } end
Construct an XML fragment representing the proxy restriction
Construct an XML fragment representing the proxy restriction
xml
new