civo 0.4.1 → 0.4.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/charge.rb +5 -0
- data/app/models/civo/team.rb +14 -0
- data/lib/civo/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64d4d01a1bb092aa978343330637f7d008ecacce
|
4
|
+
data.tar.gz: 53126fa5647a5874cc568f16f103b5ad188452e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ba135d7fac6e76e6896e6321fbfcd5c49812413d8bdd550e436edef3e75cae53fc5fe8f2c7ca7af37f477f052147819c92cc3e3d896d4bbe3816db3f6b02911
|
7
|
+
data.tar.gz: cde5bcbb2428677b43025c87f5cad3f23da1f7ce7fdeca9cf1e4e7d98a6be8c93dd5d368eb472bb519bdd5b1a7cc4f3220dfe92e1a8547761e5885c56a56bdca
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Civo
|
2
|
+
class Team < Base
|
3
|
+
get :all, "/v1/teams"
|
4
|
+
post :create, "/v1/teams"
|
5
|
+
put :update, "/v1/teams/:id", requires: %i{id}
|
6
|
+
delete :remove, "/v1/teams/:id", requires: %i{id}
|
7
|
+
|
8
|
+
get :my_memberships, "/v1/team_memberships"
|
9
|
+
post :member_invite, "/v1/teams/:id/memberships/:user_id", requires: %i{id user_id email_address}
|
10
|
+
put :member_status, "/v1/teams/:id/memberships/:user_id", requires: %i{id user_id status}
|
11
|
+
get :members, "/v1/teams/:id/memberships", requires: %i{id}
|
12
|
+
delete :member_remove, "/v1/teams/:id/memberships/:user_id", requires: %i{id user_id}
|
13
|
+
end
|
14
|
+
end
|
data/lib/civo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- app/models/civo/account.rb
|
79
79
|
- app/models/civo/audit_log.rb
|
80
80
|
- app/models/civo/base.rb
|
81
|
+
- app/models/civo/charge.rb
|
81
82
|
- app/models/civo/firewall.rb
|
82
83
|
- app/models/civo/firewall_rule.rb
|
83
84
|
- app/models/civo/instance.rb
|
@@ -88,6 +89,7 @@ files:
|
|
88
89
|
- app/models/civo/snapshot.rb
|
89
90
|
- app/models/civo/ssh_key.rb
|
90
91
|
- app/models/civo/system.rb
|
92
|
+
- app/models/civo/team.rb
|
91
93
|
- app/models/civo/template.rb
|
92
94
|
- app/models/civo/user.rb
|
93
95
|
- config/routes.rb
|