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

Version Path
qb-0.4.5 lib/qb/github/api.rb
qb-0.4.4 lib/qb/github/api.rb
qb-0.4.3 lib/qb/github/api.rb
qb-0.4.2 lib/qb/github/api.rb
qb-0.4.1 lib/qb/github/api.rb
qb-0.4.0 lib/qb/github/api.rb
qb-0.3.25 lib/qb/github/api.rb
qb-0.3.24 lib/qb/github/api.rb
qb-0.3.23 lib/qb/github/api.rb
qb-0.3.22 lib/qb/github/api.rb
qb-0.3.21 lib/qb/github/api.rb
qb-0.3.20 lib/qb/github/api.rb
qb-0.3.19 lib/qb/github/api.rb
qb-0.3.18 lib/qb/github/api.rb
qb-0.3.17 lib/qb/github/api.rb
qb-0.3.16 lib/qb/github/api.rb
qb-0.3.15 lib/qb/github/api.rb
qb-0.3.14 lib/qb/github/api.rb
qb-0.3.13 lib/qb/github/api.rb
qb-0.3.12 lib/qb/github/api.rb