Sha256: 2643e3c6738bcc668a3ad055ac1222767ef33320ebaa8d66623af8a0ce7ec369

Contents?: true

Size: 446 Bytes

Versions: 14

Compression:

Stored size: 446 Bytes

Contents

module Saml
  class ArtifactResolve
    include Saml::ComplexTypes::RequestAbstractType

    tag "ArtifactResolve"
    has_one :artifact, Saml::Artifact

    validates :artifact, presence: true

    def initialize(*args)
      options   = args.extract_options!
      artifact  = options.delete(:artifact)
      @artifact = artifact.is_a?(Saml::Artifact) ? artifact : Saml::Artifact.new(artifact)
      super(*(args << options))
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
libsaml-3.13.1 lib/saml/artifact_resolve.rb
libsaml-3.13.0 lib/saml/artifact_resolve.rb
libsaml-3.12.0 lib/saml/artifact_resolve.rb
libsaml-3.11.0 lib/saml/artifact_resolve.rb
libsaml-3.10.0 lib/saml/artifact_resolve.rb
libsaml-3.9.3 lib/saml/artifact_resolve.rb
libsaml-3.9.2 lib/saml/artifact_resolve.rb
libsaml-3.9.1 lib/saml/artifact_resolve.rb
libsaml-3.9.0 lib/saml/artifact_resolve.rb
libsaml-3.8.0 lib/saml/artifact_resolve.rb
libsaml-3.7.0 lib/saml/artifact_resolve.rb
libsaml-3.6.0 lib/saml/artifact_resolve.rb
libsaml-3.5.0 lib/saml/artifact_resolve.rb
libsaml-3.4.0 lib/saml/artifact_resolve.rb