module SensuPluginsGithub::Auth
Public Class Methods
acquire_git_token()
click to toggle source
# File lib/sensu-plugins-github/auth.rb, line 6 def self.acquire_git_token File.readlines(File.expand_path('~/.ssh/git_token')).each do |line| @github_token = line end end