Method: Vcloud::Core::LogoutCli#run
- Defined in:
- lib/vcloud/core/logout_cli.rb
#run ⇒ void
This method returns an undefined value.
Logout an existing vCloud session.
20 21 22 23 24 25 26 27 |
# File 'lib/vcloud/core/logout_cli.rb', line 20 def run begin Vcloud::Core::Fog.logout rescue => e $stderr.puts("#{e.class}: #{e.message}") exit 1 end end |