lib/rsaml/subject_locality.rb
def to_xml(xml=Builder::XmlMarkup.new)
      attributes = {}
      attributes['Address'] = address unless address.nil?
      attributes['DNSName'] = dns_name unless dns_name.nil?
      xml.tag!('saml:SubjectLocality', attributes)
    end
# Construct an XML fragment representing the subject locality
Construct an XML fragment representing the subject locality
Construct an XML fragment representing the subject locality
def to_xml(xml=Builder::XmlMarkup.new)
      attributes = {}
      attributes['Address'] = address unless address.nil?
      attributes['DNSName'] = dns_name unless dns_name.nil?
      xml.tag!('saml:SubjectLocality', attributes)
    end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { } attributes [ 'Address' ] = address unless address . nil? attributes [ 'DNSName' ] = dns_name unless dns_name . nil? xml . tag! ( 'saml:SubjectLocality' , attributes ) end
Construct an XML fragment representing the subject locality
Construct an XML fragment representing the subject locality
xml
new