class SAML2::Endpoint::Indexed

Public Class Methods

new(location = nil, index = nil, is_default = nil, binding = Bindings::HTTP_POST::URN) click to toggle source

@param location [String] @param index [Integer] @param is_default [true, false, nil] @param binding [String]

Calls superclass method SAML2::IndexedObject::new
# 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

Public Instance Methods

eql?(other) click to toggle source
Calls superclass method SAML2::IndexedObject#eql?
# File lib/saml2/endpoint.rb, line 49
def eql?(other)
  location == other.location &&
    binding == other.binding && super
end