Sha256: a162153280e3024de459b253f46f5f62975c1043f17d5b44bed43e0cb391e24d

Contents?: true

Size: 275 Bytes

Versions: 38

Compression:

Stored size: 275 Bytes

Contents

module DeployGate
  module Commands
    class Logout
      class << self

        # @return [void]
        def run
          DeployGate::Session.delete

          puts HighLine.color(I18n.t('commands.logout.success'), HighLine::GREEN)
        end
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
deploygate-0.9.1 lib/deploygate/commands/logout.rb
deploygate-0.9.0 lib/deploygate/commands/logout.rb
deploygate-0.8.6 lib/deploygate/commands/logout.rb
deploygate-0.8.5 lib/deploygate/commands/logout.rb
deploygate-0.8.4 lib/deploygate/commands/logout.rb
deploygate-0.8.3 lib/deploygate/commands/logout.rb
deploygate-0.8.2 lib/deploygate/commands/logout.rb
deploygate-0.8.1 lib/deploygate/commands/logout.rb
deploygate-0.8.0 lib/deploygate/commands/logout.rb
deploygate-0.7.0 lib/deploygate/commands/logout.rb
deploygate-0.6.8 lib/deploygate/commands/logout.rb
deploygate-0.6.7 lib/deploygate/commands/logout.rb
deploygate-0.6.6 lib/deploygate/commands/logout.rb
deploygate-0.6.5 lib/deploygate/commands/logout.rb
deploygate-0.6.4 lib/deploygate/commands/logout.rb
deploygate-0.6.3 lib/deploygate/commands/logout.rb
deploygate-0.6.2 lib/deploygate/commands/logout.rb
deploygate-0.6.1 lib/deploygate/commands/logout.rb
deploygate-0.6.0 lib/deploygate/commands/logout.rb
deploygate-0.5.6 lib/deploygate/commands/logout.rb