Method: FormAPI::AuthenticationSuccessResponse#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



95
96
97
98
99
# File 'lib/form_api/models/authentication_success_response.rb', line 95

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