module GitHubStatus::Support::GitHub
Public Instance Methods
canonical_sha()
click to toggle source
# File lib/github-status/support/github.rb, line 17 def canonical_sha @canonical_sha ||= (sha.match(/^.{40}$/) || github.commit(repo, sha).sha).to_s end
github()
click to toggle source
# File lib/github-status/support/github.rb, line 12 def github @github ||= Octokit::Client.new access_token: access_token end