Method: FormAPI::AuthenticationError#==

Defined in:
lib/form_api/models/authentication_error.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



108
109
110
111
112
113
# File 'lib/form_api/models/authentication_error.rb', line 108

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      status == o.status &&
      error == o.error
end