civo 0.8.1 → 0.8.2
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/account.rb +1 -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: 746ed049a254ba003f0f81e28a0e83c5f20f4f9d
|
4
|
+
data.tar.gz: '008bc220b2073dca9b08544b48a036cda6f6032a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb7f479f5d68023b1bd654107f9a0ba536784d241da93102852a1c0d4f51a9d69d0173bffe9309d37c8139a43b3e6da3e260bd870cba29293d12cf6b05bd29a
|
7
|
+
data.tar.gz: 1f3ce507d6f0020618dfd889f2c43a9386444d1eb7f2cf84fccf46cb1947206cb6c96fed241b0ae20cd6275d41070d03aa97c4b9aa3cc5438bc7e1904c53e0cb
|
data/app/models/civo/account.rb
CHANGED
@@ -2,7 +2,7 @@ module Civo
|
|
2
2
|
class Account < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts"
|
4
4
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:id", requires: [:id]
|
5
|
-
get :stats, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts
|
5
|
+
get :stats, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/stats", requires: [:account_id]
|
6
6
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts", requires: [:name]
|
7
7
|
put :reset, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:name", requires: [:name]
|
8
8
|
put :save, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts"
|
data/lib/civo/version.rb
CHANGED