Method: Saml::ComplexTypes::AttributeType#attribute_value=
- Defined in:
- lib/saml/complex_types/attribute_type.rb
#attribute_value=(value) ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/saml/complex_types/attribute_type.rb', line 29 def attribute_value=(value) attribute_value = if value.is_a? String Saml::Elements::AttributeValue.new(content: value) else value end self.attribute_values = [attribute_value] end |