global

def user_name_by_id(id)

def user_name_by_id(id)
  raise 'The ID of the user is nil' if id.nil?
  raise 'The ID of the user must be an Integer' unless id.is_a?(Integer)
  json = @origin.user(id)
  name = json[:login].downcase
  @loog.debug("GitHub user ##{id} has a name: @#{name}")
  name
end