civo 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -0
- data/app/models/civo/instance.rb +1 -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: ea2509d6c02d31cebecc5fc3cae2d86401045dcf
|
4
|
+
data.tar.gz: 6816b5db23b7ca3ae4ace89f2e527bf4683c4bea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a509cd939ee66d00d4a1ba3987633e0aa24f0cff234a855b69646c1c5740fbaa9432f4afcccb01b58edd4b1b52030bace8caf92c6ed7829bc777e354a271bef9
|
7
|
+
data.tar.gz: 4bf17cf814ca53d4d0c9f134e2f6f54935466fd675c4964adbd49d7a56c33f41cb9b26f2db3b4b32fc017c7fe2f76f67c28628ae7d58632262769a5d9eedc512
|
data/Rakefile
CHANGED
data/app/models/civo/instance.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Civo
|
2
2
|
class Instance < Base
|
3
3
|
get :all, "/v1/instances"
|
4
|
+
get :find, "/v1/instances/:id", requires: [:id]
|
4
5
|
post :create, "/v1/instances", requires: [:hostname, :size, :region, :ssh_key],
|
5
6
|
defaults: {public_ip: true, template: "ubuntu-14.04", initial_user: "civo"}
|
6
7
|
delete :remove, "/v1/instances/:id", requires: [:id]
|
data/lib/civo/version.rb
CHANGED