class Hyrb::Tasks::Github::Inject

Public Instance Methods

run(env) click to toggle source
# File lib/hyrb/tasks/github.rb, line 12
def run(env)
  env.github_client = Octokit::Client.new({
    access_token: env.creds.github_api_key,
    auto_pagination: true,
  })
end