Class: Jiminy::Reporting::CIProviders::Github::Configuration
Constant Summary
ProviderConfiguration::TEMPLATE_METHOD_PROC
Instance Method Summary
collapse
Instance Method Details
#github_token ⇒ Object
22
23
24
|
# File 'lib/jiminy/reporting/ci_providers/github.rb', line 22
def github_token
ensure_configuration(:github_token)
end
|
#project_reponame ⇒ Object
18
19
20
|
# File 'lib/jiminy/reporting/ci_providers/github.rb', line 18
def project_reponame
repo_path.to_s.split("/").last
end
|
#project_username ⇒ Object
14
15
16
|
# File 'lib/jiminy/reporting/ci_providers/github.rb', line 14
def project_username
repo_path.to_s.split("/").first
end
|
#repo_path ⇒ Object
10
11
12
|
# File 'lib/jiminy/reporting/ci_providers/github.rb', line 10
def repo_path
ensure_configuration(:repo_path)
end
|