sticapi_client 3.2.8 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1195e3199253cc1190dfe68440a2bb866a97477a2e0c8773c40b0762d04037c1
4
- data.tar.gz: e33ddfa6ac6c3f1cc726712f3cd3871da14fc04fef5b7817d2faa0c8f5e8fee8
3
+ metadata.gz: a6d529d64b3f5b89fe968f6a8c17bf15242792faffb1368307d48b785d3ffaa2
4
+ data.tar.gz: 366b26dca3b736868a71fa2fae98c2b71dbfaff166ff04e1ae61b4431743f766
5
5
  SHA512:
6
- metadata.gz: c6eaa4f532e2252ecb2b9ffa47a5582943defe34090f74480e7c264c011bc0d6872f89cfcb3fdee885717a2ac845e2aebefa427e8fd19a9ab784ae11ad79bdf0
7
- data.tar.gz: 6e4bca03f43704992c73995cbd38d2bf3bd6f816f067589a3fa5f697d10177f6660dbc5cb2a2c818a2c9101d23b8eb48ee47b2b91f760dfd55546be9fb183f7e
6
+ metadata.gz: f36a959ab7e6020db7e0a677e8c8b30f3b4eb277eac4220cd0ec9bcb4fe6c8ef615ad3f1ce2058ecd4a62530508f17dec5805cb62c83036edfaf04c08cdc364b
7
+ data.tar.gz: 4fcb75f5bf63dde3d241070f60305654a88b39a1461841f2c56a92fb423993890122c4233087d17f7fe9e7c0333c1e08b164941dc6a411b03ef7f5f3e553d57f
@@ -23,6 +23,13 @@ module SticapiClient
23
23
  Sticapi::SticapiClient.instance.sticapi_request("/intranet/grau_usuario", options)
24
24
  end
25
25
 
26
+ # Gestores individuais de ponto
27
+ # Retorno [JSON] Dados dos gestores individuais de ponto
28
+ # campos: [id data_criacao data_exclusao observacao id_vinculo_gestor matricula_gestor id_vinculo_gerido matricula_gerido]
29
+ def self.gestores_individuais(options = {})
30
+ Sticapi::SticapiClient.instance.sticapi_request("/intranet/gestores_individuais", options)
31
+ end
32
+
26
33
  # Dados básicos dos usuário ativos do Intranet
27
34
  # Retorno [JSON] Dados dos usuários ativos
28
35
  # campos: [id nascimentoData sexo cpf nome email data_posse_efetivo categoria cargo_efetivo_id cargo_efetivo_descricao cargo_comissionado_id cargo_comissionado_descricao]
@@ -62,5 +62,13 @@ module SticapiClient
62
62
  {}
63
63
  end
64
64
  end
65
+
66
+ # Retorna os dados da escala de férias do ano requerido
67
+ # Parâmetro ano [Integer] ano requerido
68
+ # Retorno [JSON] Dados dos períodos homologados
69
+ def self.escala_ferias(options = {})
70
+ options[:kind] = "get"
71
+ Sticapi::SticapiClient.instance.sticapi_request("/pessoas/escala_ferias", options)
72
+ end
65
73
  end
66
74
  end
@@ -1,3 +1,3 @@
1
1
  module SticapiClient
2
- VERSION = "3.2.8"
2
+ VERSION = "3.3.0"
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.8
4
+ version: 3.3.0
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-10-10 00:00:00.000000000 Z
11
+ date: 2023-12-18 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.20
142
+ rubygems_version: 3.4.22
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Client to use TJPI sticapi services