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