Sha256: 118bac2b4e9929a77e75bfc05bd90ea9ad705283bb14a5fca437bf282e9051b6
Contents?: true
Size: 991 Bytes
Versions: 23
Compression:
Stored size: 991 Bytes
Contents
# Requirements # ======================================================================= # Stdlib # ----------------------------------------------------------------------- # Deps # ----------------------------------------------------------------------- require 'octokit' # Project / Package # ----------------------------------------------------------------------- # Refinements # ======================================================================= # Declarations # ======================================================================= # Definitions # ======================================================================= # @todo document QB::GitHub::API module. module QB::GitHub::API def self.client @client ||= if token = ENV['GH_TOKEN'] Octokit::Client.new access_token: token else Octokit::Client.new end end end # module QB::GitHub::API # Post-Processing # =======================================================================
Version data entries
23 entries across 23 versions & 1 rubygems