civo 0.3.7 → 0.3.8
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/ssh_key.rb +1 -1
- data/app/models/civo/template.rb +2 -1
- 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: 42967a702bce16ef01c670c6f6b132f6fab026bf
|
4
|
+
data.tar.gz: 49237e53e0733db431d9105c60941df9edbf7501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b55117ee2558c0163ad2f80b31af38cb1c33450b013c4c38a8ba6d91cdd128e0a0c9079898b35502f2641670e4fe54cc2b4999b3b65d8f082480be0091d5e17
|
7
|
+
data.tar.gz: 85616c4995caa2657275964e9a9dbc0df1609cd59bc766eed29f1ae586933a88df46876a4f04b37898381989d76ddeea6690eb19c2a444e14e2a11b515460136
|
data/app/models/civo/ssh_key.rb
CHANGED
data/app/models/civo/template.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
module Civo
|
2
2
|
class Template < Base
|
3
3
|
get :all, "/v1/templates"
|
4
|
+
get :details, "/v1/templates/:id"
|
4
5
|
put :save, "/v1/templates/:id"
|
5
|
-
post :create, "/v1/templates"
|
6
|
+
post :create, "/v1/templates", required: [:name, :image_id]
|
6
7
|
delete :remove, "/v1/templates/:id"
|
7
8
|
end
|
8
9
|
end
|
data/lib/civo/version.rb
CHANGED