civo 1.5.2 → 1.5.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/user.rb +1 -1
- data/lib/civo/version.rb +1 -1
- data/lib/civo.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fb8656e6a68bc22cfe6f8d62036ef34c1ea9d0669ac9f06cf5d22cae11f1b54
|
4
|
+
data.tar.gz: 34cdbe84bc7d540c83962aeb883abe326204591e019d0badcf7e2c4b19134fbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a083bd4de8b7dede1449d148db98b9d5e479f27f86512723ad48cb6aaf9006225659504e1690d5084351d752df9e39136c97575df4f4b35bfb06a81e365a9196
|
7
|
+
data.tar.gz: 22ae869debf50e66f38f51c6c2e82b425105817d4feddb95a90c9a8775b6c946e8c1081b8cd94c1e80bcdbd871f429467a8130be3c2618d51c026776c112d4a9
|
data/app/models/civo/user.rb
CHANGED
@@ -9,7 +9,7 @@ module Civo
|
|
9
9
|
put :flags, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id/flags"
|
10
10
|
put :save, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id"
|
11
11
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id"
|
12
|
-
get :everything, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id/everything"
|
12
|
+
get :everything, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id/everything", has_many: {accounts: Civo::Account, teams: Civo::Team, organisations: Civo::Organisation, roles: Civo::Role}
|
13
13
|
if ENV["CIVO_API_VERSION"] == "2"
|
14
14
|
get :all, "/v2/users"
|
15
15
|
get :find_by_token, "/v2/users/token/:token"
|
data/lib/civo/version.rb
CHANGED
data/lib/civo.rb
CHANGED
@@ -26,8 +26,10 @@ require_relative "../app/models/civo/ip"
|
|
26
26
|
require_relative "../app/models/civo/kpi"
|
27
27
|
require_relative "../app/models/civo/load_balancer"
|
28
28
|
require_relative "../app/models/civo/network"
|
29
|
+
require_relative "../app/models/civo/organisation"
|
29
30
|
require_relative "../app/models/civo/quota"
|
30
31
|
require_relative "../app/models/civo/region"
|
32
|
+
require_relative "../app/models/civo/role"
|
31
33
|
require_relative "../app/models/civo/size"
|
32
34
|
require_relative "../app/models/civo/snapshot"
|
33
35
|
require_relative "../app/models/civo/ssh_key"
|