Class: Saml::Elements::SubjectConfirmation

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/saml/elements/subject_confirmation.rb

Defined Under Namespace

Classes: Methods

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ SubjectConfirmation

Returns a new instance of SubjectConfirmation.



20
21
22
23
24
25
26
# File 'lib/saml/elements/subject_confirmation.rb', line 20

def initialize(*args)
  options                    = args.extract_options!
  @subject_confirmation_data = Saml::Elements::SubjectConfirmationData.new(recipient: options.delete(:recipient),
                                                                           in_response_to: options.delete(:in_response_to))
  super(*(args << options))
  @_method ||= Methods::BEARER
end