Method: Saml::Elements::SPSSODescriptor#add_assertion_consumer_service

Defined in:
lib/saml/elements/sp_sso_descriptor.rb

#add_assertion_consumer_service(binding, location, index, default = false) ⇒ Object



26
27
28
29
30
31
# File 'lib/saml/elements/sp_sso_descriptor.rb', line 26

def add_assertion_consumer_service(binding, location, index, default = false)
  assertion_consumer_services << AssertionConsumerService.new(binding:    binding,
                                                              location:   location,
                                                              index:      index,
                                                              is_default: default)
end