Sha256: 9ba4f56cbbdf5b8b36c1d2cc527ebfbfc520d6f6a4c8c40aea27e1242fbe1f97

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

require 'octokit'

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

4 entries across 4 versions & 1 rubygems

Version Path
git_helper-3.0.1 lib/git_helper/octokit_client.rb
git_helper-3.0.0 lib/git_helper/octokit_client.rb
git_helper-2.0.2 lib/git_helper/octokit_client.rb
git_helper-2.0.1 lib/git_helper/octokit_client.rb