Class: Discord::UsersResource
- Defined in:
- lib/discord/resources/users.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
-
#me ⇒ Object
Get the currently authenticated user.
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Discord::Resource
Instance Method Details
permalink #me ⇒ Object
Get the currently authenticated user
5 6 7 |
# File 'lib/discord/resources/users.rb', line 5 def me User.new get_request("users/@me").body end |