module Authentication::Comparisons

Public Instance Methods

==(authentication) click to toggle source
# File lib/authentication/comparisons.rb, line 6
def ==(authentication)
  authentication.is_a?(self.class) && id.present? && id == authentication.id
end