Module: SAML2::OrganizationAndContacts
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#contacts ⇒ Object
22 23 24 |
# File 'lib/saml2/organization_and_contacts.rb', line 22 def contacts @contacts ||= load_object_array(@root, 'md:ContactPerson', Contact) end |
#organization ⇒ Object
15 16 17 18 19 20 |
# File 'lib/saml2/organization_and_contacts.rb', line 15 def organization unless instance_variable_defined?(:@organization) @organization = Organization.from_xml(@root.at_xpath('md:Organization', Namespaces::ALL)) end @organization end |
Instance Method Details
#initialize(node = nil) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/saml2/organization_and_contacts.rb', line 8 def initialize(node = nil) unless node @organization = nil @contacts = [] end end |