Sha256: a5c19256a51beda498d0ffc2454df479fd69d201676c0acdca5a37245912b8c4

Contents?: true

Size: 334 Bytes

Versions: 13

Compression:

Stored size: 334 Bytes

Contents

require 'contracts'
require 'octokit'

module GitHubStatus
  module Support
    module GitHub
      include ::Contracts::Core
      include ::Contracts::Builtin
      include Source

      Contract None => Octokit::Client
      def github
        @github ||= Octokit::Client.new access_token: access_token
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
concourse-github-status-0.5.11 lib/github-status/support/github.rb
concourse-github-status-0.5.10 lib/github-status/support/github.rb
concourse-github-status-0.5.9 lib/github-status/support/github.rb
concourse-github-status-0.5.8 lib/github-status/support/github.rb
concourse-github-status-0.5.7 lib/github-status/support/github.rb
concourse-github-status-0.5.0 lib/github-status/support/github.rb
concourse-github-status-0.4.3 lib/github-status/support/github.rb
concourse-github-status-0.4.2 lib/github-status/support/github.rb
concourse-github-status-0.4.1 lib/github-status/support/github.rb
concourse-github-status-0.4.0 lib/github-status/support/github.rb
concourse-github-status-0.3.1 lib/github-status/support/github.rb
concourse-github-status-0.3.0 lib/github-status/support/github.rb
concourse-github-status-0.2.4 lib/github-status/support/github.rb