Class: Saml::Elements::AttributeStatement
- Inherits:
-
Object
- Object
- Saml::Elements::AttributeStatement
- Includes:
- Base
- Defined in:
- lib/saml/elements/attribute_statement.rb
Instance Method Summary collapse
Instance Method Details
#fetch_attribute(key) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/saml/elements/attribute_statement.rb', line 13 def fetch_attribute(key) attribute = self.attribute.find do |attr| attr.name == key end attribute.attribute_value if attribute end |