lib/rsaml/statement/authorization_decision_statement.rb
def to_xml(xml=Builder::XmlMarkup.new)
        attributes = {'Resource' => resource, 'Decision' => decision}
        xml.tag!('saml:AuthzStatement', attributes) {
          actions.each { |action| xml << action.to_xml }
          evidence.each { |e| xml << e.to_xml }
        }
      end
# Construct an XML fragment representing the authorization decision statement
Construct an XML fragment representing the authorization decision statement
Construct an XML fragment representing the authorization decision statement
def to_xml(xml=Builder::XmlMarkup.new)
        attributes = {'Resource' => resource, 'Decision' => decision}
        xml.tag!('saml:AuthzStatement', attributes) {
          actions.each { |action| xml << action.to_xml }
          evidence.each { |e| xml << e.to_xml }
        }
      end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { 'Resource' => resource , 'Decision' => decision } xml . tag! ( 'saml:AuthzStatement' , attributes ) { actions . each { | action | xml << action . to_xml } evidence . each { | e | xml << e . to_xml } } end
Construct an XML fragment representing the authorization decision statement
Construct an XML fragment representing the authorization decision statement
xml
new