forked from piotrmurach/github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.rb
More file actions
35 lines (26 loc) · 676 Bytes
/
Copy pathclient.rb
File metadata and controls
35 lines (26 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# encoding: utf-8
module Github
class Client < API
def gists(options = {})
@gists ||= Github::Gists.new(options)
end
def git_data(options)
@git_data ||= Github::GitData.new(options)
end
def issues(options = {})
@issues ||= Github::Issues.new(options)
end
def orgs(options = {})
@orgs ||= Github::Orgs.new(options)
end
def pull_requests(options = {})
@pull_requests ||= Github::PullRequests.new(options)
end
def repos(options = {})
@repos ||= Github::Repos.new(options)
end
def users(options = {})
@users ||= Github::Users.new(options)
end
end # Client
end # Github