Sha256: 72eb720df9728e94a1c179f86e77b0942d089af7caae26032bcf6e19543214e8

Contents?: true

Size: 258 Bytes

Versions: 19

Compression:

Stored size: 258 Bytes

Contents

module Saml
  module Kit
    class InvalidDocument < Document
      validate do |model|
        model.errors[:base] << model.error_message(:invalid)
      end

      def initialize(xml)
        super(xml, name: "InvalidDocument")
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
saml-kit-0.2.17 lib/saml/kit/invalid_document.rb
saml-kit-0.2.16 lib/saml/kit/invalid_document.rb
saml-kit-0.2.15 lib/saml/kit/invalid_document.rb
saml-kit-0.2.14 lib/saml/kit/invalid_document.rb
saml-kit-0.2.13 lib/saml/kit/invalid_document.rb
saml-kit-0.2.12 lib/saml/kit/invalid_document.rb
saml-kit-0.2.11 lib/saml/kit/invalid_document.rb
saml-kit-0.2.10 lib/saml/kit/invalid_document.rb
saml-kit-0.2.9 lib/saml/kit/invalid_document.rb
saml-kit-0.2.8 lib/saml/kit/invalid_document.rb
saml-kit-0.2.7 lib/saml/kit/invalid_document.rb
saml-kit-0.2.6 lib/saml/kit/invalid_document.rb
saml-kit-0.2.5 lib/saml/kit/invalid_document.rb
saml-kit-0.2.4 lib/saml/kit/invalid_document.rb
saml-kit-0.2.3 lib/saml/kit/invalid_document.rb
saml-kit-0.2.2 lib/saml/kit/invalid_document.rb
saml-kit-0.2.1 lib/saml/kit/invalid_document.rb
saml-kit-0.2.0 lib/saml/kit/invalid_document.rb
saml-kit-0.1.0 lib/saml/kit/invalid_document.rb