zei 0.2.0 → 0.2.3
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/estruturas/documento.rb +14 -2
- data/lib/sei/estruturas/retorno_consultar_procedimento.rb +18 -0
- 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: cc62a5fb1b5d3db9d529d34de466d57403a35baf101d2bc413b8735d0ab5d99f
|
4
|
+
data.tar.gz: 9534bc104c349b8839e325bfe5b29661358115dde35508470b9f4d819f8fd38b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23a1380a77802b5bcf89aa88ba416fe5a695f23875399aab42fe43b9c616e76693267bd69c4b115e348c9879495fe7c0d6eabbf477ef0803530a0ea751e1048f
|
7
|
+
data.tar.gz: f5522a37ef3aeedeacedf428863674cbd455fb600d3c6cb30615434f7085b2fbd30d97102598a0c505b422807a6d287f5c0826822094145405111c6c45f5389c
|
@@ -86,6 +86,16 @@ module Sei
|
|
86
86
|
self
|
87
87
|
end
|
88
88
|
|
89
|
+
def nivel_acesso(nivel_acesso)
|
90
|
+
@nivel_acesso = nivel_acesso
|
91
|
+
self
|
92
|
+
end
|
93
|
+
|
94
|
+
def id_hipotese_legal(id_hipotese_legal)
|
95
|
+
@id_hipotese_legal = id_hipotese_legal
|
96
|
+
self
|
97
|
+
end
|
98
|
+
|
89
99
|
def to_h
|
90
100
|
{
|
91
101
|
tipo: @tipo,
|
@@ -101,7 +111,9 @@ module Sei
|
|
101
111
|
nome_arquivo: @nome_arquivo,
|
102
112
|
conteudo: @conteudo,
|
103
113
|
conteudo_mtom: @conteudo_mtom,
|
104
|
-
nivel_de_acesso: @nivel_de_acesso
|
114
|
+
nivel_de_acesso: @nivel_de_acesso,
|
115
|
+
nivel_acesso: @nivel_acesso,
|
116
|
+
id_hipotese_legal: @id_hipotese_legal
|
105
117
|
}
|
106
118
|
end
|
107
119
|
|
@@ -109,4 +121,4 @@ module Sei
|
|
109
121
|
|
110
122
|
end
|
111
123
|
|
112
|
-
end
|
124
|
+
end
|
@@ -10,6 +10,15 @@ module Sei
|
|
10
10
|
has_value :data_autuacao
|
11
11
|
has_value :link_acesso
|
12
12
|
has_value :tipo_procedimento
|
13
|
+
has_value :andamento_geracao
|
14
|
+
has_value :andamento_conclusao
|
15
|
+
has_value :ultimo_andamento
|
16
|
+
has_value :unidades_procedimento_aberto
|
17
|
+
has_value :assuntos
|
18
|
+
has_value :interessados
|
19
|
+
has_value :observacoes
|
20
|
+
has_value :procedimentos_relacionados
|
21
|
+
has_value :procedimentos_anexados
|
13
22
|
|
14
23
|
def initialize(params)
|
15
24
|
self.id_procedimento = params[:id_procedimento]
|
@@ -18,6 +27,15 @@ module Sei
|
|
18
27
|
self.data_autuacao = params[:data_autuacao]
|
19
28
|
self.link_acesso = params[:link_acesso]
|
20
29
|
self.tipo_procedimento = params[:tipo_procedimento]
|
30
|
+
self.andamento_geracao = params[:andamento_geracao]
|
31
|
+
self.andamento_conclusao = params[:andamento_conclusao]
|
32
|
+
self.ultimo_andamento = params[:ultimo_andamento]
|
33
|
+
self.unidades_procedimento_aberto = params[:unidades_procedimento_aberto]
|
34
|
+
self.assuntos = params[:assuntos]
|
35
|
+
self.interessados = params[:interessados]
|
36
|
+
self.observacoes = params[:observacoes]
|
37
|
+
self.procedimentos_relacionados = params[:procedimentos_relacionados]
|
38
|
+
self.procedimentos_anexados = params[:procedimentos_anexados]
|
21
39
|
initialize_attributes
|
22
40
|
end
|
23
41
|
|
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.2.
|
4
|
+
version: 0.2.3
|
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-
|
11
|
+
date: 2023-11-20 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.22
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: Integração com a API do SEI.
|