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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f90bd0359af881adfdcaafe00a1cf3cb6f9783d5ba05397bb66692dad86a45a
4
- data.tar.gz: 1d7f86d7f68cf5b413e5579ab3e91e43eb58c735e5900a4767741653c73e6361
3
+ metadata.gz: fb37d29cc393e3932afa15d45c1ce0690de120426a9c42caa283d4c2dfd40b27
4
+ data.tar.gz: e0d9e2fa0b5ef1a9f744d6d9d44009ceff3ff3db862cff86706baa178963234e
5
5
  SHA512:
6
- metadata.gz: 5d053e87abe8d4d08701c6997c7ec4a642d6432e4e9c00876d5009a663e9953229942c378c732851a4177acffa1d680c00c9c63e0c86f6c9dd5b11d5ed4dd771
7
- data.tar.gz: 5d3905c34fef4422cf40895d9cf99651e77e0f952ddf0c37463ea9ddf80138a6b8ec3b7aed78ac3470640323731477164903bbde2f7a9e93ff5fa521d52dcda5
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]
@@ -1,3 +1,3 @@
1
1
  module SticapiClient
2
- VERSION = "3.3.4"
2
+ VERSION = "3.3.5"
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.3.4
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-03-14 00:00:00.000000000 Z
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.5.5
142
+ rubygems_version: 3.4.19
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Client to use TJPI sticapi services