class SAML::Core::AttributeStatement
Attributes
attributes[RW]
Public Class Methods
from_xml(xml)
click to toggle source
# File lib/saml/core/attribute_statement.rb, line 7 def self.from_xml(xml) statement = new attrs = [] xml.each_element('saml:Attribute') do |a| attrs << Attribute.from_xml(a) end statement.attributes = attrs statement end