Class: ESM::User::Ephemeral::DiscordUser
- Inherits:
-
Object
- Object
- ESM::User::Ephemeral::DiscordUser
- Defined in:
- lib/esm/model/user/ephemeral.rb
Instance Attribute Summary collapse
-
#steam_uid ⇒ Object
(also: #id, #mention, #distinct, #username)
readonly
Returns the value of attribute steam_uid.
Instance Method Summary collapse
-
#initialize(id) ⇒ DiscordUser
constructor
A new instance of DiscordUser.
Constructor Details
#initialize(id) ⇒ DiscordUser
Returns a new instance of DiscordUser.
47 48 49 |
# File 'lib/esm/model/user/ephemeral.rb', line 47 def initialize(id) @steam_uid = id end |
Instance Attribute Details
#steam_uid ⇒ Object (readonly) Also known as: id, mention, distinct, username
Returns the value of attribute steam_uid.
45 46 47 |
# File 'lib/esm/model/user/ephemeral.rb', line 45 def steam_uid @steam_uid end |