module Dependabot
Constants
- VERSION
Public Class Methods
github()
click to toggle source
# File lib/dependabot.rb, line 36 def self.github @github ||= GitHub.new end
logger()
click to toggle source
# File lib/dependabot.rb, line 22 def self.logger ::Straw.logger end
octokit()
click to toggle source
# File lib/dependabot.rb, line 26 def self.octokit @octokit ||= Octokit::Client.new.tap do |client| client.access_token = github.token client.api_endpoint = github.api_url client.auto_paginate = true client.connection_options = { request: { open_timeout: 5, timeout: 5 } } client.web_endpoint = github.server_url end end