Class: GHClient::User

Inherits:
Object
  • Object
show all
Defined in:
lib/ghclient/user.rb

Class Method Summary collapse

Class Method Details

.path(user_name) ⇒ Object



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

def self.path user_name
  "/users/#{user_name}"
end

.repositories_path(user_name) ⇒ Object



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

def self.repositories_path user_name
  "/users/#{user_name}/repos"
end