civo 0.3.17 → 0.3.18
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/system.rb +5 -0
- data/app/models/civo/user.rb +11 -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: 04d51e8b4584b222a6ee1580c925feee7c992052
|
4
|
+
data.tar.gz: d4e78383131ccc530a58133c146932a15aed20a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85f3d7dab8b7c2a3459eff4f331803b5e07007198e5dc5bea47a2d86b92a598625ef454a49fac4378e271c55b8ab4083b46b57af8bad027daf3716f23669404e
|
7
|
+
data.tar.gz: 66c5f31de98d0592b1c4b8f7d6430f6c37733b8ac9be2dc17254a68f47b6f540a729e7ef6b7f1a66936ecec9c7f1390b8de2181414ead58e4e39d04fbe0cfd6a
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module Civo
|
2
|
+
class User < Base
|
3
|
+
get :ping, "/v1/ping"
|
4
|
+
post :create, "/v1/users", required: %i{first_name last_name email_address}
|
5
|
+
put :confirm, "/v1/users/confirm/:token"
|
6
|
+
put :password, "/v1/users/password/:token"
|
7
|
+
post :login, "/v1/users/login"
|
8
|
+
put :flags, "/v1/users/:id/flags"
|
9
|
+
put :update, "/v1/users/:id"
|
10
|
+
end
|
11
|
+
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.3.
|
4
|
+
version: 0.3.18
|
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-
|
11
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|
@@ -86,7 +86,9 @@ files:
|
|
86
86
|
- app/models/civo/size.rb
|
87
87
|
- app/models/civo/snapshot.rb
|
88
88
|
- app/models/civo/ssh_key.rb
|
89
|
+
- app/models/civo/system.rb
|
89
90
|
- app/models/civo/template.rb
|
91
|
+
- app/models/civo/user.rb
|
90
92
|
- config/routes.rb
|
91
93
|
- lib/civo.rb
|
92
94
|
- lib/civo/engine.rb
|