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
Attributes inherited from Base
Instance Method Summary collapse
- #eql?(other) ⇒ Boolean
-
#initialize(location = nil, index = nil, is_default = nil, binding = Bindings::HTTP_POST::URN) ⇒ Indexed
constructor
A new instance of Indexed.
Methods included from IndexedObject
#build, #default?, #default_defined?, #from_xml, included
Methods inherited from SAML2::Endpoint
Methods inherited from Base
#build, #decrypt, from_xml, #from_xml, #inspect, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml
Constructor Details
#initialize(location = nil, index = nil, is_default = nil, binding = Bindings::HTTP_POST::URN) ⇒ Indexed
Returns a new instance of Indexed.
43 44 45 46 47 |
# File 'lib/saml2/endpoint.rb', line 43 def initialize(location = nil, index = nil, is_default = nil, binding = Bindings::HTTP_POST::URN) super(location, binding) @index = index @is_default = is_default end |
Instance Method Details
#eql?(other) ⇒ Boolean
49 50 51 52 |
# File 'lib/saml2/endpoint.rb', line 49 def eql?(other) location == other.location && binding == other.binding && super end |