Class: SAML2::Endpoint::Indexed
- Inherits:
-
SAML2::Endpoint
- Object
- Base
- SAML2::Endpoint
- SAML2::Endpoint::Indexed
- Includes:
- IndexedObject
- Defined in:
- lib/saml2/endpoint.rb
Defined Under Namespace
Classes: Array
Instance Attribute Summary
Attributes included from IndexedObject
Attributes inherited from SAML2::Endpoint
#binding, #location, #response_location
Attributes inherited from Base
Instance Method Summary collapse
- #eql?(other) ⇒ Boolean
-
#initialize(location = nil, index = nil, is_default = nil, binding = Bindings::HTTP_POST::URN, response_location = nil) ⇒ Indexed
constructor
A new instance of Indexed.
- #inspect ⇒ String
Methods included from IndexedObject
#build, #default?, #default_defined?, #from_xml, included
Methods inherited from SAML2::Endpoint
#==, #build, #effective_response_location, #from_xml
Methods inherited from Base
#build, #decrypt, 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 = nil, binding = Bindings::HTTP_POST::URN, response_location = nil) ⇒ Indexed
Returns a new instance of Indexed.
70 71 72 73 74 75 76 77 78 |
# File 'lib/saml2/endpoint.rb', line 70 def initialize(location = nil, index = nil, is_default = nil, binding = Bindings::HTTP_POST::URN, response_location = nil) super(location, binding, response_location) @index = index @is_default = is_default end |
Instance Method Details
#eql?(other) ⇒ Boolean
80 81 82 83 84 85 |
# File 'lib/saml2/endpoint.rb', line 80 def eql?(other) location == other.location && binding == other.binding && response_location == other.response_location && super end |
#inspect ⇒ String
88 89 90 |
# File 'lib/saml2/endpoint.rb', line 88 def inspect "#<SAML2::Endpoint::Indexed #{endpoint_inspect} #{indexed_object_inspect}>" end |