zei 0.1.8 → 0.1.9

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: 65ce644f8a09283dff6e6ee13705b638b8ef3a5a776e9f71b414cd6bbd452901
4
- data.tar.gz: fdddccf2db6c262684bef4b3666f1583fd302f056f62a6779099348c235d4b8d
3
+ metadata.gz: c36f67502b0d04fc4fe16ae4d306222a026ab7d8e3a056feb5b89844ec1a321b
4
+ data.tar.gz: 523d653e96f21b9eae8f11172cb339557a37e5740e57485585dbafac9518c4c9
5
5
  SHA512:
6
- metadata.gz: cb2a93ac568e40d4da039d475d47a9efeea269120346113da67c10c8ec8e04329d783f498a529af46914c9acfb58fc1d1f78d636e2171c4772e79cc0b2c4b795
7
- data.tar.gz: 5a5fdcb59e193b6466655d1ac4a2ac6d59a3882f34656dbf955983d9cb306ab4bff5dc98c36fa55f784929798792d678c5b58c0feaa287f1df8664d384ebda15
6
+ metadata.gz: 48e8a0884e109f321a0543dc74fd7ccaa039d20d3811ef4d8e7c6dcd30aa0044a6dcc0f1fa0ff9e0e2742be8f2b1528394d270466d91814a55845ee6bf0720cd
7
+ data.tar.gz: 1aad0e0084ae0594cc3088360f764a8895a1779fb9bbe5a16f811c32a31351ad9508550a2701f0a35fd6b0b160f76ce1cd0cb41a724ed465c2b5a33c2305d885
data/lib/sei/servico.rb CHANGED
@@ -183,7 +183,19 @@ module Sei
183
183
  Sei::Estruturas::RetornoListUsuarios.new body
184
184
  end
185
185
 
186
- def self.consultar_procedimento(id_unidade, protocolo_procedimento, sin_retornar_assuntos = 'N', sin_retornar_interessados = 'N', sin_retornar_observacoes = 'N', sin_retornar_andamento_geracao = 'N', sin_retornar_andamento_conclusao = 'N')
186
+ def self.consultar_procedimento(
187
+ id_unidade, protocolo_procedimento,
188
+ sin_retornar_assuntos = 'N',
189
+ sin_retornar_interessados = 'N',
190
+ sin_retornar_observacoes = 'N',
191
+ sin_retornar_andamento_geracao = 'N',
192
+ sin_retornar_andamento_conclusao = 'N',
193
+ sin_retornar_ultimo_andamento = 'N',
194
+ sin_retornar_ultimo_andamento = 'N',
195
+ sin_retornar_unidades_procedimento_aberto = 'S',
196
+ sin_retornar_procedimentos_relacionados = 'N',
197
+ sin_retornar_procedimentos_anexados = 'N'
198
+ )
187
199
  message = {
188
200
  SiglaSistema: Sei.configuration.sigla,
189
201
  IdentificacaoServico: Sei.configuration.identificacao,
@@ -193,7 +205,11 @@ module Sei
193
205
  SinRetornarInteressados: sin_retornar_interessados,
194
206
  SinRetornarObservacoes: sin_retornar_observacoes,
195
207
  SinRetornarAndamentoGeracao: sin_retornar_andamento_geracao,
196
- SinRetornarAndamentoConclusao: sin_retornar_andamento_conclusao
208
+ SinRetornarAndamentoConclusao: sin_retornar_andamento_conclusao,
209
+ SinRetornarUltimoAndamento: sin_retornar_ultimo_andamento,
210
+ SinRetornarUnidadesProcedimentoAberto: sin_retornar_unidades_procedimento_aberto,
211
+ SinRetornarProcedimentosRelacionados: sin_retornar_procedimentos_relacionados,
212
+ SinRetornarProcedimentosAnexados: sin_retornar_procedimentos_anexados
197
213
  }
198
214
  response = Sei::Connection.instance.call :consultar_procedimento, message: message
199
215
  body = response.body[:consultar_procedimento_response][:parametros]
data/lib/sei/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sei
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zei
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
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-05-12 00:00:00.000000000 Z
11
+ date: 2023-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  - !ruby/object:Gem::Version
155
155
  version: '0'
156
156
  requirements: []
157
- rubygems_version: 3.4.8
157
+ rubygems_version: 3.4.10
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Integração com a API do SEI.