Class: SAML2::Endpoint::Indexed

Inherits:
SAML2::Endpoint show all
Includes:
IndexedObject
Defined in:
lib/saml2/endpoint.rb

Instance Attribute Summary

Attributes included from IndexedObject

#index

Attributes inherited from SAML2::Endpoint

#binding, #location

Attributes inherited from Base

#xml

Instance Method Summary collapse

Methods included from IndexedObject

#build, #default?, #default_defined?, #from_xml

Methods inherited from SAML2::Endpoint

#==, #build, #from_xml

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 = nil, binding = Bindings::HTTP_POST) ⇒ Indexed

Returns a new instance of Indexed.



33
34
35
36
# File 'lib/saml2/endpoint.rb', line 33

def initialize(location = nil, index = nil, is_default = nil, binding = Bindings::HTTP_POST)
  super(location, binding)
  @index, @is_default = index, is_default
end

Instance Method Details

#eql?(rhs) ⇒ Boolean

Returns:

  • (Boolean)


38
39
40
41
# File 'lib/saml2/endpoint.rb', line 38

def eql?(rhs)
  location == rhs.location &&
      binding == rhs.binding && super
end