Class: Vx::ServiceConnector::Github
- Inherits:
-
Struct
- Object
- Struct
- Vx::ServiceConnector::Github
show all
- Includes:
- Base
- Defined in:
- lib/vx/service_connector/github.rb,
lib/vx/service_connector/github/files.rb,
lib/vx/service_connector/github/hooks.rb,
lib/vx/service_connector/github/repos.rb,
lib/vx/service_connector/github/commits.rb,
lib/vx/service_connector/github/notices.rb,
lib/vx/service_connector/github/payload.rb,
lib/vx/service_connector/github/deploy_keys.rb
Defined Under Namespace
Classes: Commits, DeployKeys, Files, Hooks, Notices, Payload, Repos
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods included from Base
#session
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token
9
10
11
|
# File 'lib/vx/service_connector/github.rb', line 9
def access_token
@access_token
end
|
#login ⇒ Object
Returns the value of attribute login
9
10
11
|
# File 'lib/vx/service_connector/github.rb', line 9
def login
@login
end
|
Instance Method Details
#commits(repo, options = {}) ⇒ Object
41
42
43
|
# File 'lib/vx/service_connector/github.rb', line 41
def commits(repo, options = {})
Github::Commits.new(session, repo)
end
|
#deploy_keys(repo) ⇒ Object
25
26
27
|
# File 'lib/vx/service_connector/github.rb', line 25
def deploy_keys(repo)
Github::DeployKeys.new(session, repo)
end
|
#files(repo) ⇒ Object
33
34
35
|
# File 'lib/vx/service_connector/github.rb', line 33
def files(repo)
Github::Files.new(session, repo)
end
|
#hooks(repo) ⇒ Object
21
22
23
|
# File 'lib/vx/service_connector/github.rb', line 21
def hooks(repo)
Github::Hooks.new(session, repo)
end
|
#notices(repo) ⇒ Object
29
30
31
|
# File 'lib/vx/service_connector/github.rb', line 29
def notices(repo)
Github::Notices.new(session, repo)
end
|
#organizations ⇒ Object
17
18
19
|
# File 'lib/vx/service_connector/github.rb', line 17
def organizations
Github::Repos.new(session).organizations
end
|
#payload(repo, params) ⇒ Object
37
38
39
|
# File 'lib/vx/service_connector/github.rb', line 37
def payload(repo, params)
Github::Payload.new(session, params).build
end
|
#repos ⇒ Object
13
14
15
|
# File 'lib/vx/service_connector/github.rb', line 13
def repos
Github::Repos.new(session).to_a
end
|