Method: Kickflow::User#==
- Defined in:
- lib/kickflow/models/user.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 |
# File 'lib/kickflow/models/user.rb', line 414 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && email == o.email && code == o.code && first_name == o.first_name && last_name == o.last_name && full_name == o.full_name && employee_id == o.employee_id && image == o.image && status == o.status && locale == o.locale && created_at == o.created_at && updated_at == o.updated_at && deactivated_at == o.deactivated_at end |