# File lib/handlers/appliance.rb, line 42 def destroy require_appliance do |appliance| if appliance.destroy.code_type == Net::HTTPOK say 'Appliance Successfully Destroyed', :red else say_array ['There was a problem with destroying the appliance.', 'Make sure that you\'re in the appliance directory OR', 'Have provided the --appliance_id option'] end end end