# File lib/fission/command/suspend.rb, line 26 def vms_to_suspend if @options.all response = VM.all_running if response.successful? vms = response.data else output_and_exit "There was an error getting the list of running VMs. The error was:\n#{response.message}", response.code end else vms = [ VM.new(@args.first) ] end vms end