Module: Saml::ComplexTypes::SubjectQueryAbstractType

Extended by:
ActiveSupport::Concern
Includes:
RequestAbstractType
Included in:
AttributeQueryType
Defined in:
lib/saml/complex_types/subject_query_abstract_type.rb

Instance Method Summary collapse

Methods included from RequestAbstractType

#provider

Methods included from XMLHelpers

#add_signature, #to_soap, #to_xml

Instance Method Details

#initialize(*args) ⇒ Object



14
15
16
17
18
19
20
21
22
23
# File 'lib/saml/complex_types/subject_query_abstract_type.rb', line 14

def initialize(*args)
  options = args.extract_options!
  @subject = Saml::Elements::Subject.new(
    name_id: options.delete(:name_id),
    name_id_format: options.delete(:name_id_format),
    recipient: options.delete(:recipient),
    in_response_to: options.delete(:in_response_to)
  )
  super(*(args << options))
end