module BWAPI::Client::Me
Me
module for me endpoint and helper methods
Public Instance Methods
me()
click to toggle source
Get user information
@return [Hash] User
information
# File lib/bwapi/client/me.rb, line 8 def me get 'me' end
user_client_id()
click to toggle source
Get users client id
@return [String] Users client id
# File lib/bwapi/client/me.rb, line 22 def user_client_id me.client.id end
user_client_name()
click to toggle source
Get users client name
@return [String] Users client name
# File lib/bwapi/client/me.rb, line 15 def user_client_name me.client.name end
user_id()
click to toggle source
Get users id
@return [String] Users role
# File lib/bwapi/client/me.rb, line 29 def user_id me.id end