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