zei 0.1.8 → 0.2.0
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/sei/servico.rb +17 -2
- data/lib/sei/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: 7e84e4a6f1c958835f50205dab4fd1d5d4354bb69584e59cf3c6b39eac2b531a
|
|
4
|
+
data.tar.gz: 3ad7da36198470856905d1e827df26617a1be072c67756080514f4926b1be8c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf9fd01a3da23a8058c30eaa98f6752154b2483b90fc368af3f38af9374dd9bd85cc3a2428859dbd4742c806c1c632faaf1502b65715c48515f8518bce74c359
|
|
7
|
+
data.tar.gz: d809108deecde25f6368de956d7e4175c90b20e37779aaa9cc53bff239196dc16d9e20b847f7cb14f17e2fa8bf2f97d4e4e27cefe6b26c72c8eecbeb3f44b05f
|
data/lib/sei/servico.rb
CHANGED
|
@@ -183,7 +183,18 @@ module Sei
|
|
|
183
183
|
Sei::Estruturas::RetornoListUsuarios.new body
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
-
def self.consultar_procedimento(
|
|
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_unidades_procedimento_aberto = 'S',
|
|
195
|
+
sin_retornar_procedimentos_relacionados = 'N',
|
|
196
|
+
sin_retornar_procedimentos_anexados = 'N'
|
|
197
|
+
)
|
|
187
198
|
message = {
|
|
188
199
|
SiglaSistema: Sei.configuration.sigla,
|
|
189
200
|
IdentificacaoServico: Sei.configuration.identificacao,
|
|
@@ -193,7 +204,11 @@ module Sei
|
|
|
193
204
|
SinRetornarInteressados: sin_retornar_interessados,
|
|
194
205
|
SinRetornarObservacoes: sin_retornar_observacoes,
|
|
195
206
|
SinRetornarAndamentoGeracao: sin_retornar_andamento_geracao,
|
|
196
|
-
SinRetornarAndamentoConclusao: sin_retornar_andamento_conclusao
|
|
207
|
+
SinRetornarAndamentoConclusao: sin_retornar_andamento_conclusao,
|
|
208
|
+
SinRetornarUltimoAndamento: sin_retornar_ultimo_andamento,
|
|
209
|
+
SinRetornarUnidadesProcedimentoAberto: sin_retornar_unidades_procedimento_aberto,
|
|
210
|
+
SinRetornarProcedimentosRelacionados: sin_retornar_procedimentos_relacionados,
|
|
211
|
+
SinRetornarProcedimentosAnexados: sin_retornar_procedimentos_anexados
|
|
197
212
|
}
|
|
198
213
|
response = Sei::Connection.instance.call :consultar_procedimento, message: message
|
|
199
214
|
body = response.body[:consultar_procedimento_response][:parametros]
|
data/lib/sei/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.2.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-05-
|
|
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.
|
|
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.
|