civo 0.7.2 → 0.7.3
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 +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: bc79536f3d2d8b4a133363111b9edd016fd5a441
|
4
|
+
data.tar.gz: d44504d3d7ee4c81fc44e8575d0569928d036779
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4108b784f0725cba6befc780c7ce27aca20baa5bf0c43b0a19bc70fbfb4789742a2ccac8ce07fba55ef796e36ce589c6154da4023a5d8e14e0f708a5f1662f1
|
7
|
+
data.tar.gz: cad8915af696a4b66ee44774211738c706449a9cfb82519fb39d93ff19797b37773d6bb5ab53e9cb90b577af4bfd7dd945f756490b6caeec1b20efa32706a3f1
|
data/app/models/civo/ssh_key.rb
CHANGED
@@ -2,7 +2,8 @@ module Civo
|
|
2
2
|
class SshKey < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys"
|
4
4
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys", requires: [:name, :public_key]
|
5
|
-
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys/:
|
5
|
+
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys/:id", requires: [:id]
|
6
|
+
put :update, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys/:id", requires: [:id, :name]
|
6
7
|
|
7
8
|
def to_partial_path
|
8
9
|
"civo/ssh_key"
|
data/lib/civo/version.rb
CHANGED