Class: ESM::User::Ephemeral::DiscordUser

Inherits:
Object
  • Object
show all
Defined in:
lib/esm/model/user/ephemeral.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_uidObject (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