Class: User
- Inherits:
-
Object
- Object
- User
- Defined in:
- src/models/user.rb
Overview
Describes and provides actions for Slack users
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The user id.
Instance Method Summary collapse
-
#==(other) ⇒ Boolean
(also: #eql?)
Compare users by ID.
Instance Attribute Details
#id ⇒ String (readonly)
Returns the user id
4 5 6 |
# File 'src/models/user.rb', line 4 def id @id end |
Instance Method Details
#==(other) ⇒ Boolean Also known as: eql?
Compare users by ID
16 17 18 |
# File 'src/models/user.rb', line 16 def ==(other) @id == other.id end |