lib/jiminy/github_apiable.rb in jiminy-0.1.0.pre1 vs lib/jiminy/github_apiable.rb in jiminy-0.1.0
- old
+ new
@@ -4,14 +4,14 @@
module GithubAPIable
require "octokit"
private
- def env_config
- @_env_config ||= Reporting::CIProviders::Github::Configuration.new
- end
+ def env_config
+ @_env_config ||= Reporting::CIProviders::Github::Configuration.new
+ end
- def client
- @_client ||= Octokit::Client.new(access_token: env_config.github_token)
- end
+ def client
+ @_client ||= Octokit::Client.new(access_token: env_config.github_token)
+ end
end
end