Module: Saml::ComplexTypes::AttributeType
- Extended by:
- ActiveSupport::Concern
- Includes:
- Base
- Included in:
- Elements::Attribute, Elements::RequestedAttribute
- Defined in:
- lib/saml/complex_types/attribute_type.rb
Instance Method Summary collapse
Instance Method Details
#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 |
#initialize(*args) ⇒ Object
23 24 25 26 27 |
# File 'lib/saml/complex_types/attribute_type.rb', line 23 def initialize(*args) = args. @attribute_values ||= [] super(*(args << )) end |