class Levelup::Requests::GetUser

Represents a request to get information about a user. User access token must have the read_user_basic_info permission.

Public Instance Methods

body() click to toggle source
# File lib/levelup/requests/get_user.rb, line 8
def body
  {}
end
response_from_hash(hash) click to toggle source
# File lib/levelup/requests/get_user.rb, line 12
def response_from_hash(hash)
  Responses::Success.new(hash['user'])
end