digidentity/libsaml

View on GitHub
lib/saml/elements/status_detail.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Saml
  module Elements
    class StatusDetail
      include Saml::Base

      tag "StatusDetail"
      namespace 'samlp'

      element :status_value, String, tag: 'StatusValue'

      def initialize(*args)
        options          = args.extract_options!
        @status_value = options.delete(:status_value) if options[:status_value]
        super(*(args << options))
      end
    end
  end
end