module QB::GitHub::API

@todo document QB::GitHub::API module.

Public Class Methods

client() click to toggle source
# File lib/qb/github/api.rb, line 30
def self.client
  @client ||= if token = ENV['GH_TOKEN']
    Octokit::Client.new access_token: token
  else
    Octokit::Client.new
  end
end