Method: Plaid::UserCreateResponse#==

Defined in:
lib/plaid/models/user_create_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



119
120
121
122
123
124
125
126
# File 'lib/plaid/models/user_create_response.rb', line 119

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      user_token == o.user_token &&
      user_id == o.user_id &&
      request_id == o.request_id &&
      identity_creation_result == o.identity_creation_result
end