sticapi_client 3.3.4 → 3.3.5
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/intranet.rb +14 -0
- 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: fb37d29cc393e3932afa15d45c1ce0690de120426a9c42caa283d4c2dfd40b27
|
|
4
|
+
data.tar.gz: e0d9e2fa0b5ef1a9f744d6d9d44009ceff3ff3db862cff86706baa178963234e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8827b122c6c38f89dfdd8744160bd2f16ecf52ffc1196563742caa25d1a9995ce290fcb14861c9430661a5e62d65fbbd9dbae0ca2a85c89acbde99de6de596fc
|
|
7
|
+
data.tar.gz: 3b225149baa581e5ef893903ecb38c019534bd79e07ae872a1968e1e463a33a9abe90cfc8d309c31bad01594c86ba97f971f80e82be883651b7187168fea71b6
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
module SticapiClient
|
|
2
2
|
class Intranet
|
|
3
|
+
# Bloquear usuário no intranet
|
|
4
|
+
# Parâmetro cpf [String] CPF do usuário
|
|
5
|
+
# Retorno [JSON] usuário resultante da operação
|
|
6
|
+
def self.block_user(options = {})
|
|
7
|
+
Sticapi::SticapiClient.instance.sticapi_request("/intranet/block_user", options)
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
# Desbloquear usuário no intranet
|
|
11
|
+
# Parâmetro cpf [String] CPF do usuário
|
|
12
|
+
# Retorno [JSON] usuário resultante da operação
|
|
13
|
+
def self.unblock_user(options = {})
|
|
14
|
+
Sticapi::SticapiClient.instance.sticapi_request("/intranet/unblock_user", options)
|
|
15
|
+
end
|
|
16
|
+
|
|
3
17
|
# Retorna os vínculos ativos atuais no sistema Intranet
|
|
4
18
|
# Retorno [JSON] Dados dos vinculos
|
|
5
19
|
# campos: [tjpi_vinculo.id global_pessoafisica.cpf tjpi_vinculo.categoria tjpi_vinculo.dataInicio tjpi_vinculo.dataFim tjpi_vinculo.origemCargo_id tjpi_vinculo.lotacaoAtual_id tjpi_vinculo.nivelReferenciaAtual_id]
|
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.3.
|
|
4
|
+
version: 3.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ricardo Viana
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-04-24 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.
|
|
142
|
+
rubygems_version: 3.4.19
|
|
143
143
|
signing_key:
|
|
144
144
|
specification_version: 4
|
|
145
145
|
summary: Client to use TJPI sticapi services
|