Sha256: 7934bc5244f4c9eb6f7f2aa4b41c6c2a83a859c2cc2bf2cb261b8df61898b48d

Contents?: true

Size: 247 Bytes

Versions: 8

Compression:

Stored size: 247 Bytes

Contents

module GitHelper
  class OctokitClient
    def client
      Octokit::Client.new(access_token: git_config_reader.github_token)
    end

    private def git_config_reader
      @git_config_reader ||= GitHelper::GitConfigReader.new
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
git_helper-3.3.1 lib/git_helper/octokit_client.rb
git_helper-3.3.0 lib/git_helper/octokit_client.rb
git_helper-3.2.2 lib/git_helper/octokit_client.rb
git_helper-3.2.1 lib/git_helper/octokit_client.rb
git_helper-3.2.0 lib/git_helper/octokit_client.rb
git_helper-3.1.3 lib/git_helper/octokit_client.rb
git_helper-3.1.2 lib/git_helper/octokit_client.rb
git_helper-3.1.0 lib/git_helper/octokit_client.rb