civo 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/civo/instance.rb +2 -0
- data/lib/civo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 517970d35b7f7a4ca90356cf5eee5a32084c55de
|
4
|
+
data.tar.gz: 61aec5afd63ea2b425450907bce058d62c26ff14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30a9a64e04b3fce16e94b4ba1320de2bb1fcde1eebf8221c521fddd0bb6b802eb59a499000de32ee4dd2f0d663a568c725d4c2285c34f3f07f20ab8997d40dbc
|
7
|
+
data.tar.gz: 8f06d066230839aaf4e3f56fe8f29a00135cc0be6a4b82cbd52a0d21cea5d07a259262d6fd38fddafdf8c520f6b934377cc0d7eea651957a2744d4e09796271a
|
data/app/models/civo/instance.rb
CHANGED
@@ -6,6 +6,8 @@ module Civo
|
|
6
6
|
defaults: {public_ip: true, template: "ubuntu-14.04", initial_user: "civo"}
|
7
7
|
delete :remove, "/v1/instances/:id", requires: [:id]
|
8
8
|
post :reboot, "/v1/instances/:id/reboots", requires: [:id]
|
9
|
+
post :hard_reboot, "/v1/instances/:id/hard_reboots", requires: [:id]
|
10
|
+
post :soft_reboot, "/v1/instances/:id/soft_reboots", requires: [:id]
|
9
11
|
put :stop, "/v1/instances/:id/stop", requires: [:id]
|
10
12
|
put :start, "/v1/instances/:id/start", requires: [:id]
|
11
13
|
post :reboot, "/v1/instances/:id/reboots", requires: [:id]
|
data/lib/civo/version.rb
CHANGED