lib/yao/resources/networking_agents.rb in yao-0.19.0 vs lib/yao/resources/networking_agents.rb in yao-0.20.0
- old
+ new
@@ -23,8 +23,13 @@
# @return [Date]
def heartbeat_timestamp
Time.parse(self["heartbeat_timestamp"])
end
+ # @return []
+ def delete
+ self.class.delete(id)
+ end
+
alias :state :admin_state_up
end
end