Sha256: 5288deb51fe0270a89728e11643422a2bca0aa0099d9456e51994b86b2eaeb9b

Contents?: true

Size: 633 Bytes

Versions: 33

Compression:

Stored size: 633 Bytes

Contents

module Saml
  module ComplexTypes
    module AttributeType
      extend ActiveSupport::Concern
      include Saml::Base

      included do
        register_namespace "saml", Saml::SAML_NAMESPACE

        attribute :name, String, :tag => 'Name'
        attribute :format, String, tag: 'NameFormat'
        attribute :friendly_name, String, tag: 'FriendlyName'
        element :attribute_value, String, :namespace => 'saml', :tag => "AttributeValue"

        validates :name, :presence => true
      end

      def initialize(*args)
        options = args.extract_options!
        super(*(args << options))
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
libsaml-2.7.0 lib/saml/complex_types/attribute_type.rb
libsaml-2.6.9 lib/saml/complex_types/attribute_type.rb
libsaml-2.6.8 lib/saml/complex_types/attribute_type.rb
libsaml-2.6.7 lib/saml/complex_types/attribute_type.rb
libsaml-2.6.6 lib/saml/complex_types/attribute_type.rb
libsaml-2.6.4 lib/saml/complex_types/attribute_type.rb
libsaml-2.6.2 lib/saml/complex_types/attribute_type.rb
libsaml-2.6.1 lib/saml/complex_types/attribute_type.rb
libsaml-2.6.0 lib/saml/complex_types/attribute_type.rb
libsaml-2.5.2 lib/saml/complex_types/attribute_type.rb
libsaml-2.5.1 lib/saml/complex_types/attribute_type.rb
libsaml-2.5.0 lib/saml/complex_types/attribute_type.rb
libsaml-2.4.7 lib/saml/complex_types/attribute_type.rb
libsaml-2.4.6 lib/saml/complex_types/attribute_type.rb
libsaml-2.4.5 lib/saml/complex_types/attribute_type.rb
libsaml-2.4.4 lib/saml/complex_types/attribute_type.rb
libsaml-2.4.3 lib/saml/complex_types/attribute_type.rb
libsaml-2.4.2 lib/saml/complex_types/attribute_type.rb
libsaml-2.4.1 lib/saml/complex_types/attribute_type.rb
libsaml-2.3.2 lib/saml/complex_types/attribute_type.rb