Module: GitHub

Defined in:
lib/github.rb,
lib/github/error.rb,
lib/github/client.rb,
lib/github/version.rb,
lib/github/configuration.rb

Defined Under Namespace

Modules: Configuration Classes: Client, ClientError, GitHubError, NotFound, RateLimitExceeded, ServerError, Unauthorized, Unavailable

Constant Summary collapse

VERSION =
'0.0.1'

Class Method Summary collapse

Class Method Details

.events(username) ⇒ Object



23
24
25
# File 'lib/github.rb', line 23

def events(username)
  Client.new.events(username)
end

.followers(username = nil) ⇒ Object



19
20
21
# File 'lib/github.rb', line 19

def followers(username=nil)
  Client.new.followers(username)
end

.repos(username) ⇒ Object



27
28
29
# File 'lib/github.rb', line 27

def repos(username)
  Client.new.repos(username)
end

.user(username) ⇒ Object



11
12
13
# File 'lib/github.rb', line 11

def user(username)
  Client.new.user(username)
end

.usersObject



15
16
17
# File 'lib/github.rb', line 15

def users
  Client.new.users
end