class Gitcafeapi::Account::Users
GitCafe Api Class:Users
Protected Instance Methods
get_followers(username)
click to toggle source
# File lib/gitcafeapi.rb, line 210 def get_followers (username) info = Net::HTTP.get (URI("#{@@users_url}/#{@username}/followers")) end
get_followings(username)
click to toggle source
# File lib/gitcafeapi.rb, line 216 def get_followings (username) info = Net::HTTP.get (URI("#{@@users_url}/#{@username}/followings")) end
get_orgs(username)
click to toggle source
# File lib/gitcafeapi.rb, line 222 def get_orgs (username) info = Net::HTTP.get (URI("#{@@users_url}/#{@username}/orgs")) end
get_projects(username)
click to toggle source
# File lib/gitcafeapi.rb, line 228 def get_projects (username) info = Net::HTTP.get (URI("#{@@users_url}/#{username}/projects")) end
get_username(username)
click to toggle source
# File lib/gitcafeapi.rb, line 204 def get_username (username) info = Net::HTTP.get (URI("#{@@users_url}/#{@username}")) end
get_watching_projects(username)
click to toggle source
# File lib/gitcafeapi.rb, line 234 def get_watching_projects (username) info = Net::HTTP.get (URI("#{@@users_url}/#{username}/watching_projects")) end