lib/bbcloud/servers.rb in bbcloud-0.10.1 vs lib/bbcloud/servers.rb in bbcloud-0.11.0
- old
+ new
@@ -40,9 +40,13 @@
fog_model.destroy
rescue Excon::Errors::Conflict => e
raise Conflict, "Cannot delete server #{id}"
end
+ def activate_console
+ self.class.conn.activate_console_server id
+ end
+
def self.get(id)
conn.servers.get id
end
def self.all