Class: Saml::Elements::SPSSODescriptor
- Inherits:
-
Object
- Object
- Saml::Elements::SPSSODescriptor
- Includes:
- ComplexTypes::SSODescriptorType
- Defined in:
- lib/saml/elements/sp_sso_descriptor.rb
Defined Under Namespace
Classes: AssertionConsumerService
Instance Method Summary collapse
- #add_assertion_consumer_service(binding, location, index, default = false) ⇒ Object
-
#initialize(*args) ⇒ SPSSODescriptor
constructor
A new instance of SPSSODescriptor.
Methods included from ComplexTypes::SSODescriptorType
Constructor Details
#initialize(*args) ⇒ SPSSODescriptor
Returns a new instance of SPSSODescriptor.
21 22 23 24 |
# File 'lib/saml/elements/sp_sso_descriptor.rb', line 21 def initialize(*args) super(*args) self.assertion_consumer_services ||= [] end |
Instance Method Details
#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 |