Method: Travis::Client::AutoLogin#github
- Defined in:
- lib/travis/client/auto_login.rb
#github ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/travis/client/auto_login.rb', line 24 def github @github ||= Tools::Github.new(session.config['github']) do |g| g.explode = true g.manual_login = false g.auto_token = @auto_token g.after_tokens = proc { raise NoTokenError, "no suitable github token found" } if @raise end end |