sticapi_client 3.2.6 → 3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sticapi_client/user.rb +11 -6
- data/lib/sticapi_client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a27ce39410d6138c248dd1a9aa6a1702d31cb5722c0e9b9f16e5ff2f675a3e9c
|
4
|
+
data.tar.gz: b6215c1476b56234a4a609616ac75871ba13539197266aeac94c3a355d405e6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69c7c2c8407180fc3111ee87414310dd61f8b3b8beea4fe29b03f0af0916271cdd5c8a1a5cc21a3d4893f738611a69af897f5b43b9a411e8b1c417bcc6cd809c
|
7
|
+
data.tar.gz: 19df6fd58adf7fbd31e97db014e225bbbf9852de0c4f6e7a138f881d1bb50e368fe996ae0560f37e5606f13d3cd0f7370a0d7c9be842e3c2e3ce8a1822a6ec68
|
data/lib/sticapi_client/user.rb
CHANGED
@@ -99,17 +99,23 @@ module SticapiClient
|
|
99
99
|
|
100
100
|
# Adiciona licença E1 de um usuário no AD
|
101
101
|
# Parâmetro username [string] username
|
102
|
-
#
|
103
|
-
# Retorno [JSON] Sucesso ou falha ao alterar o email do usuário
|
102
|
+
# Retorno [JSON] Sucesso ou falha ao adicionar grupo do usuário
|
104
103
|
# user: { string }
|
105
104
|
def self.add_E1_license(options = {})
|
106
105
|
Sticapi::SticapiClient.instance.sticapi_request("/users/add_E1_license", options)
|
107
106
|
end
|
108
107
|
|
108
|
+
# Remove licença E1 de um usuário no AD
|
109
|
+
# Parâmetro username [string] username
|
110
|
+
# Retorno [JSON] Sucesso ou falha ao remover grupo do usuário
|
111
|
+
# user: { string }
|
112
|
+
def self.remove_E3_license(options = {})
|
113
|
+
Sticapi::SticapiClient.instance.sticapi_request("/users/remove_E1_license", options)
|
114
|
+
end
|
115
|
+
|
109
116
|
# Remove licença E3 de um usuário no AD
|
110
117
|
# Parâmetro username [string] username
|
111
|
-
#
|
112
|
-
# Retorno [JSON] Sucesso ou falha ao alterar o email do usuário
|
118
|
+
# Retorno [JSON] Sucesso ou falha ao remover grupo do usuário
|
113
119
|
# user: { string }
|
114
120
|
def self.remove_E3_license(options = {})
|
115
121
|
Sticapi::SticapiClient.instance.sticapi_request("/users/remove_E3_license", options)
|
@@ -117,8 +123,7 @@ module SticapiClient
|
|
117
123
|
|
118
124
|
# Remove licença E5 de um usuário no AD
|
119
125
|
# Parâmetro username [string] username
|
120
|
-
#
|
121
|
-
# Retorno [JSON] Sucesso ou falha ao alterar o email do usuário
|
126
|
+
# Retorno [JSON] Sucesso ou falha ao remover grupo do usuário
|
122
127
|
# user: { string }
|
123
128
|
def self.remove_E5_license(options = {})
|
124
129
|
Sticapi::SticapiClient.instance.sticapi_request("/users/remove_E5_license", options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sticapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Viana
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.4.
|
142
|
+
rubygems_version: 3.4.20
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Client to use TJPI sticapi services
|