Module: DList::User::Information

Included in:
Client
Defined in:
lib/dblista/user/info.rb

Overview

User client - information

Instance Method Summary collapse

Instance Method Details

#botsHash

Fetches your bots

Returns:

  • (Hash)

    raw data from DList



16
17
18
# File 'lib/dblista/user/info.rb', line 16

def bots
  DList._get('/bots/user/me', @token)
end

#serversHash

Fetches your servers

Returns:

  • (Hash)

    raw data from DList



9
10
11
# File 'lib/dblista/user/info.rb', line 9

def servers
  DList._get('/servers/user/me', @token)
end