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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e84e4a6f1c958835f50205dab4fd1d5d4354bb69584e59cf3c6b39eac2b531a
4
- data.tar.gz: 3ad7da36198470856905d1e827df26617a1be072c67756080514f4926b1be8c2
3
+ metadata.gz: cc62a5fb1b5d3db9d529d34de466d57403a35baf101d2bc413b8735d0ab5d99f
4
+ data.tar.gz: 9534bc104c349b8839e325bfe5b29661358115dde35508470b9f4d819f8fd38b
5
5
  SHA512:
6
- metadata.gz: bf9fd01a3da23a8058c30eaa98f6752154b2483b90fc368af3f38af9374dd9bd85cc3a2428859dbd4742c806c1c632faaf1502b65715c48515f8518bce74c359
7
- data.tar.gz: d809108deecde25f6368de956d7e4175c90b20e37779aaa9cc53bff239196dc16d9e20b847f7cb14f17e2fa8bf2f97d4e4e27cefe6b26c72c8eecbeb3f44b05f
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
@@ -1,3 +1,3 @@
1
1
  module Sei
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.3"
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.2.0
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-05-24 00:00:00.000000000 Z
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.10
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.