lib/rsaml/protocol/query/authz_decision_query.rb
# Construct an XML fragment representing the authorization decision query
Construct an XML fragment representing the authorization decision query
Construct an XML fragment representing the authorization decision query
def to_xml(xml=Builder::XmlMarkup.new)
          attributes = {'Resource' => resource}
          xml.tag!('samlp:AuthzDecisionQuery', attributes) {
            xml << subject.to_xml unless subject.nil?
            actions.each { |action| xml << action.to_xml }
            xml << evidence.to_xml unless evidence.nil?
          }
        end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { 'Resource' => resource } xml . tag! ( 'samlp:AuthzDecisionQuery' , attributes ) { xml << subject . to_xml unless subject . nil? actions . each { | action | xml << action . to_xml } xml << evidence . to_xml unless evidence . nil? } end
Construct an XML fragment representing the authorization decision query
Construct an XML fragment representing the authorization decision query
xml
new