module Saml::ComplexTypes::AttributeType
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/saml/complex_types/attribute_type.rb, line 23 def initialize(*args) options = args.extract_options! @attribute_values ||= [] super(*(args << options)) end
Public Instance Methods
attribute_value=(value)
click to toggle source
# 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