lib/rsaml/subject_confirmation.rb
def to_xml(xml=Builder::XmlMarkup.new)
      attributes = {'Method' => method}
      subject_confirmation_data_block = Proc.new { xml << subject_confirmation_data.to_xml} if subject_confirmation_data
      xml.tag!('saml:SubjectConfirmation', attributes, &subject_confirmation_data_block)
    end
# Construct an XML fragment representing the subject confirmation
Construct an XML fragment representing the subject confirmation
Construct an XML fragment representing the subject confirmation
def to_xml(xml=Builder::XmlMarkup.new)
      attributes = {'Method' => method}
      subject_confirmation_data_block = Proc.new { xml << subject_confirmation_data.to_xml} if subject_confirmation_data
      xml.tag!('saml:SubjectConfirmation', attributes, &subject_confirmation_data_block)
    end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { 'Method' => method } subject_confirmation_data_block = Proc . new { xml << subject_confirmation_data . to_xml } if subject_confirmation_data xml . tag! ( 'saml:SubjectConfirmation' , attributes , & subject_confirmation_data_block ) end
Construct an XML fragment representing the subject confirmation
Construct an XML fragment representing the subject confirmation
xml
new