Module: Githubris::API::User

Included in:
Githubris::API
Defined in:
lib/githubris/api/user.rb

Instance Method Summary collapse

Instance Method Details

#get_authenticated_userObject



7
8
9
# File 'lib/githubris/api/user.rb', line 7

def get_authenticated_user
  Githubris::User.new get_data_from(authenticated_user_path)
end

#get_user(login) ⇒ Object



3
4
5
# File 'lib/githubris/api/user.rb', line 3

def get_user()
  Githubris::User.new get_data_from(user_path())
end