Sha256: 6c1954324da4a904523d8acc72e93d5b153bc2d9fc62f1e12611e4f4fbb862da

Contents?: true

Size: 212 Bytes

Versions: 7

Compression:

Stored size: 212 Bytes

Contents

require 'travis/cli'

module Travis
  module CLI
    class Logout < ApiCommand
      def run
        endpoint_config.delete('access_token')
        success("Successfully logged out!")
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
travis-1.5.6.travis.326.4 lib/travis/cli/logout.rb
travis-1.5.6.travis.324.4 lib/travis/cli/logout.rb
travis-1.5.6.travis.323.4 lib/travis/cli/logout.rb
travis-1.5.6.travis.320.4 lib/travis/cli/logout.rb
travis-1.5.6.travis.319.4 lib/travis/cli/logout.rb
travis-1.5.6.travis.317.4 lib/travis/cli/logout.rb
travis-1.5.6.travis.315.4 lib/travis/cli/logout.rb