Method: GitContacts.get_a_user

Defined in:
lib/gitcontacts.rb

.get_a_user(operator, uid) ⇒ Object



47
48
49
50
51
# File 'lib/gitcontacts.rb', line 47

def get_a_user operator, uid
  return @@errno = :non_exist unless user_exist? uid
  @@errno = :ok
  User.new(uid).getinfo
end