Class: Discord::UsersResource
- Defined in:
- lib/discord/resources/users.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Discord::Resource
Instance Method Details
#guilds ⇒ Object
8 9 10 11 |
# File 'lib/discord/resources/users.rb', line 8 def guilds response = get_request("users/@me/guilds") Collection.from_response(response, type: Guild) end |