Class: SAML::Core::Subject
- Inherits:
-
Object
- Object
- SAML::Core::Subject
- Defined in:
- lib/saml/core/subject.rb
Instance Attribute Summary collapse
-
#name_id ⇒ Object
readonly
Returns the value of attribute name_id.
Instance Method Summary collapse
Instance Attribute Details
#name_id ⇒ Object (readonly)
Returns the value of attribute name_id.
5 6 7 |
# File 'lib/saml/core/subject.rb', line 5 def name_id @name_id end |
Instance Method Details
#from_xml(xml) ⇒ Object
7 8 9 |
# File 'lib/saml/core/subject.rb', line 7 def from_xml(xml) @name_id = xml.get_elements('saml:NameID').text end |