circuit-api 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/circuit_api/resources/user.rb +5 -0
- data/lib/circuit_api/version.rb +1 -1
- 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: 9ce474a23b0044ab9eb65a9520538d0b8a7b436bb903c590e71b84c48a995b93
|
4
|
+
data.tar.gz: ae0bd0fd17880639a8ccc6457fc37af1d507d7ff6a7a0ec3132a2517d466380f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10e227014cb40e0d3cfe9bb17c6d0a153b4a3d465f778f67179259f5502abf4676efa423d6a086885f4ba8f29855fae73c6fcdf6213bc53840d2fd18d1a2b60a
|
7
|
+
data.tar.gz: fb29aa1ca7e81ce0dec95abb18f6a588e2afc069c32fc98283d811af65d85d7b77f715e79530a033184395169e659ec4eebf44ef834420b0e828142a1103dc89
|
@@ -1,12 +1,17 @@
|
|
1
1
|
module CircuitApi
|
2
2
|
module Resources
|
3
3
|
class User < Base
|
4
|
+
# Participant type
|
4
5
|
REGULAR = 'REGULAR'.freeze
|
5
6
|
MODERATOR = 'MODERATOR'.freeze
|
6
7
|
GUEST = 'GUEST'.freeze
|
7
8
|
FORMER = 'FORMER'.freeze
|
8
9
|
BOT = 'BOT'.freeze
|
9
10
|
|
11
|
+
# User stase
|
12
|
+
ACTIVE_STATE = 'ACTIVE'.freeze
|
13
|
+
DELETED_STATE = 'DELETED'.freeze
|
14
|
+
|
10
15
|
def api_resource
|
11
16
|
'users'
|
12
17
|
end
|
data/lib/circuit_api/version.rb
CHANGED