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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f40ed59bccfce86471704d582e289308b828656800ef7ebe272aae36071f7fe
4
- data.tar.gz: a35c551b16d93386e0a9d46b3a9963076420171ac34eed50904e5633610f5b2a
3
+ metadata.gz: a27ce39410d6138c248dd1a9aa6a1702d31cb5722c0e9b9f16e5ff2f675a3e9c
4
+ data.tar.gz: b6215c1476b56234a4a609616ac75871ba13539197266aeac94c3a355d405e6b
5
5
  SHA512:
6
- metadata.gz: 4bf147078ecfeaa773d4f96fb084ee4ca027244e5713067345977b78ecdafaba47162ae2163adfe5122e596252b24d83778cba92b7fa44b79199d15e10095969
7
- data.tar.gz: 68d6d888ba2a0f1a2905c9cba51de3d574c222b0895ffef25d5dfd98fd75ab6541030e133a3f823ddde073c5f6a90ced296ba60b5da8e3380094ef78dc89fc34
6
+ metadata.gz: 69c7c2c8407180fc3111ee87414310dd61f8b3b8beea4fe29b03f0af0916271cdd5c8a1a5cc21a3d4893f738611a69af897f5b43b9a411e8b1c417bcc6cd809c
7
+ data.tar.gz: 19df6fd58adf7fbd31e97db014e225bbbf9852de0c4f6e7a138f881d1bb50e368fe996ae0560f37e5606f13d3cd0f7370a0d7c9be842e3c2e3ce8a1822a6ec68
@@ -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
- # Parâmetro email [String] novo email do usuário
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
- # Parâmetro email [String] novo email do usuário
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
- # Parâmetro email [String] novo email do usuário
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)
@@ -1,3 +1,3 @@
1
1
  module SticapiClient
2
- VERSION = "3.2.6"
2
+ VERSION = "3.2.7"
3
3
  end
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.6
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-07-04 00:00:00.000000000 Z
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.15
142
+ rubygems_version: 3.4.20
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Client to use TJPI sticapi services