lib/rsaml/protocol/status.rb
def to_xml(xml=Builder::XmlMarkup.new)
        xml.tag!('samlp:Status') {
          xml << status_code.to_xml unless status_code.nil?
          xml.tag!('StatusMessage', status_message) unless status_message.nil?
          status_detail.each { |status_detail| xml << status_detail.to_xml }
        }
      end
# Construct an XML fragment representing the request
Construct an XML fragment representing the request
Construct an XML fragment representing the request
def to_xml(xml=Builder::XmlMarkup.new)
        xml.tag!('samlp:Status') {
          xml << status_code.to_xml unless status_code.nil?
          xml.tag!('StatusMessage', status_message) unless status_message.nil?
          status_detail.each { |status_detail| xml << status_detail.to_xml }
        }
      end
def to_xml ( xml = Builder :: XmlMarkup . new ) xml . tag! ( 'samlp:Status' ) { xml << status_code . to_xml unless status_code . nil? xml . tag! ( 'StatusMessage' , status_message ) unless status_message . nil? status_detail . each { | status_detail | xml << status_detail . to_xml } } end
Construct an XML fragment representing the request
Construct an XML fragment representing the request
xml
new