Sha256: ca3658e5c7dbe7e4aa57cc5e715751c4614dfe46e66db680fca24086f4724ce8

Contents?: true

Size: 431 Bytes

Versions: 86

Compression:

Stored size: 431 Bytes

Contents

module Saml
  module ComplexTypes
    module EvidenceType
      extend ActiveSupport::Concern

      included do
        require 'saml/assertion'

        has_many :assertion, ::Saml::Assertion

        validates :assertion, presence: true
      end

      def initialize(*args)
        options = args.extract_options!
        @assertion = options.delete(:assertion)
        super(*(args << options))
      end
    end
  end
end


Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
libsaml-3.13.1 lib/saml/complex_types/evidence_type.rb
libsaml-3.13.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.12.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.11.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.10.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.9.3 lib/saml/complex_types/evidence_type.rb
libsaml-3.9.2 lib/saml/complex_types/evidence_type.rb
libsaml-3.9.1 lib/saml/complex_types/evidence_type.rb
libsaml-3.9.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.8.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.7.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.6.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.5.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.4.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.3.0 lib/saml/complex_types/evidence_type.rb
libsaml-3.2.3 lib/saml/complex_types/evidence_type.rb
libsaml-3.2.2 lib/saml/complex_types/evidence_type.rb
libsaml-3.2.1 lib/saml/complex_types/evidence_type.rb
libsaml-3.1.2 lib/saml/complex_types/evidence_type.rb
libsaml-3.1.1 lib/saml/complex_types/evidence_type.rb