lib/rsaml/protocol/query/attribute_query.rb
def to_xml(xml=Builder::XmlMarkup.new)
          xml_attributes = {}
          xml.tag!('samlp:AttributeQuery', xml_attributes) {
            xml << subject.to_xml unless subject.nil?
            attributes.each { |attribute| xml << attribute.to_xml }
          }
        end
# Construct an XML fragment representing the attribute query
Construct an XML fragment representing the attribute query
Construct an XML fragment representing the attribute query
def to_xml(xml=Builder::XmlMarkup.new)
          xml_attributes = {}
          xml.tag!('samlp:AttributeQuery', xml_attributes) {
            xml << subject.to_xml unless subject.nil?
            attributes.each { |attribute| xml << attribute.to_xml }
          }
        end
def to_xml ( xml = Builder :: XmlMarkup . new ) xml_attributes = { } xml . tag! ( 'samlp:AttributeQuery' , xml_attributes ) { xml << subject . to_xml unless subject . nil? attributes . each { | attribute | xml << attribute . to_xml } } end
Construct an XML fragment representing the attribute query
Construct an XML fragment representing the attribute query
xml
new