Sha256: 2542a00810df2c3e99ac564cfbc9a4bd63f14e3fd2f58ca0c93fbde3e83596fa
Contents?: true
Size: 337 Bytes
Versions: 5
Compression:
Stored size: 337 Bytes
Contents
require 'travis/cli' module Travis module CLI class RegenerateToken < ApiCommand description "regenerates the stored API token" def run token = session.regenerate_token['token'] endpoint_config['access_token'] = token success("Successfully regenerated the token!") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems