Class: SAML2::Endpoint::Indexed
- Inherits:
-
SAML2::Endpoint
- Object
- Base
- SAML2::Endpoint
- SAML2::Endpoint::Indexed
- Includes:
- IndexedObject
- Defined in:
- lib/saml2/endpoint.rb
Instance Attribute Summary
Attributes included from IndexedObject
Attributes inherited from SAML2::Endpoint
Instance Method Summary collapse
- #eql?(rhs) ⇒ Boolean
-
#initialize(location = nil, index = nil, is_default = false, binding = Bindings::HTTP_POST) ⇒ Indexed
constructor
A new instance of Indexed.
Methods included from IndexedObject
Methods inherited from SAML2::Endpoint
Methods inherited from Base
from_xml, #from_xml, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml
Constructor Details
#initialize(location = nil, index = nil, is_default = false, binding = Bindings::HTTP_POST) ⇒ Indexed
Returns a new instance of Indexed.
34 35 36 37 |
# File 'lib/saml2/endpoint.rb', line 34 def initialize(location = nil, index = nil, is_default = false, binding = Bindings::HTTP_POST) super(location, binding) @index, @is_default = index, is_default end |
Instance Method Details
#eql?(rhs) ⇒ Boolean
39 40 41 42 |
# File 'lib/saml2/endpoint.rb', line 39 def eql?(rhs) location == rhs.location && binding == rhs.binding && super end |