class Saml::Elements::SPSSODescriptor

Public Class Methods

new(*args) click to toggle source
# File lib/saml/elements/sp_sso_descriptor.rb, line 21
def initialize(*args)
  super(*args)
  self.assertion_consumer_services ||= []
end

Public Instance Methods

add_assertion_consumer_service(binding, location, index, default = false) click to toggle source
# 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