lib/rsaml/protocol/scoping.rb
# Construct an XML fragment representing the scoping
Construct an XML fragment representing the scoping
Construct an XML fragment representing the scoping
def to_xml(xml=Builder::XmlMarkup.new)
        attributes = {}
        attributes['ProxyCount'] = proxy_count if proxy_count
        xml.tag!('samlp:Scoping', attributes) {
          xml << idp_list.to_xml if idp_list
          requester_ids.each { |requester_id| xml << requester_id.to_xml }
        }
      end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { } attributes [ 'ProxyCount' ] = proxy_count if proxy_count xml . tag! ( 'samlp:Scoping' , attributes ) { xml << idp_list . to_xml if idp_list requester_ids . each { | requester_id | xml << requester_id . to_xml } } end
Construct an XML fragment representing the scoping
Construct an XML fragment representing the scoping
xml
new