lib/yao/resources/compute_services.rb in yao-0.19.0 vs lib/yao/resources/compute_services.rb in yao-0.20.0
- old
+ new
@@ -19,9 +19,14 @@
# @return [Bool]
def disabled?
status == 'disabled'
end
+ # @return []
+ def delete
+ self.class.delete(id)
+ end
+
class << self
# @param host [String]
# @param binary [String]
# @return [Yao::Resources::ComputeServices]
def enable(host, binary)