zei 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,22 @@
1
+ module Sei
2
+
3
+ module Estruturas
4
+
5
+ class RetornoInclusaoDocumento < ::Valuable
6
+
7
+ has_value :id_documento
8
+ has_value :documento_formatado
9
+ has_value :link_acesso
10
+
11
+ def initialize(params)
12
+ self.id_documento = params[:id_documento]
13
+ self.documento_formatado = params[:documento_formatado]
14
+ self.link_acesso = params[:link_acesso]
15
+ initialize_attributes
16
+ end
17
+
18
+ end
19
+
20
+ end
21
+
22
+ end
@@ -0,0 +1,17 @@
1
+ module Sei
2
+
3
+ module Estruturas
4
+
5
+ class RetornoInclusaoDocumentoBloco < ::Valuable
6
+
7
+ has_value :status
8
+
9
+ def initialize(params)
10
+ self.status = params
11
+ initialize_attributes
12
+ end
13
+ end
14
+
15
+ end
16
+
17
+ end
@@ -0,0 +1,17 @@
1
+ module Sei
2
+
3
+ module Estruturas
4
+
5
+ class RetornoInclusaoProcessoBloco < ::Valuable
6
+
7
+ has_value :status
8
+
9
+ def initialize(params)
10
+ self.status = params
11
+ initialize_attributes
12
+ end
13
+ end
14
+
15
+ end
16
+
17
+ end
@@ -0,0 +1,31 @@
1
+ module Sei
2
+
3
+ module Estruturas
4
+
5
+ class RetornoListUnidades < ::Valuable
6
+
7
+ has_collection :retorno_list_unidades, klass: RetornoUnidade
8
+
9
+ def initialize(params)
10
+
11
+ self.retorno_list_unidades = []
12
+ item = params[:item]
13
+ if item.is_a?(Hash)
14
+ self.retorno_list_unidades << Sei::Estruturas::RetornoUnidade.new(item)
15
+ elsif item.is_a?(Array)
16
+ item.each do |retorno_lista_unidades|
17
+ self.retorno_list_unidades << Sei::Estruturas::RetornoUnidade.new(retorno_lista_unidades)
18
+ end
19
+
20
+ end
21
+
22
+ initialize_attributes
23
+ end
24
+ def teste(params)
25
+ debugger
26
+ end
27
+ end
28
+
29
+ end
30
+
31
+ end
@@ -0,0 +1,26 @@
1
+ module Sei
2
+
3
+ module Estruturas
4
+
5
+ class RetornoListUsuarios < ::Valuable
6
+
7
+ has_collection :retorno_list_usuarios, klass: RetornoUsuario
8
+
9
+ def initialize(params)
10
+ self.retorno_list_usuarios = []
11
+ item = params[:item]
12
+ if item.is_a?(Hash)
13
+ self.retorno_list_usuarios << Sei::Estruturas::RetornoUsuario.new(item)
14
+ elsif item.is_a?(Array)
15
+ item.each do |retorno_lista_unidades|
16
+ self.retorno_list_usuarios << Sei::Estruturas::RetornoUsuario.new(retorno_lista_unidades)
17
+ end
18
+ end
19
+ initialize_attributes
20
+ end
21
+
22
+ end
23
+
24
+ end
25
+
26
+ end
@@ -0,0 +1,22 @@
1
+ module Sei
2
+
3
+ module Estruturas
4
+
5
+ class RetornoUnidade < ::Valuable
6
+
7
+ has_value :id_unidade
8
+ has_value :sigla
9
+ has_value :descricao
10
+
11
+ def initialize(params)
12
+ self.id_unidade = params[:id_unidade]
13
+ self.sigla = params[:sigla]
14
+ self.descricao = params[:descricao]
15
+
16
+ initialize_attributes
17
+ end
18
+ end
19
+
20
+ end
21
+
22
+ end
@@ -0,0 +1,22 @@
1
+ module Sei
2
+
3
+ module Estruturas
4
+
5
+ class RetornoUsuario < ::Valuable
6
+
7
+ has_value :idUsuario
8
+ has_value :sigla
9
+ has_value :nome
10
+
11
+ def initialize(params)
12
+ self.idUsuario = params[:id_usuario]
13
+ self.sigla = params[:sigla]
14
+ self.nome = params[:nome]
15
+ initialize_attributes
16
+ end
17
+
18
+ end
19
+
20
+ end
21
+
22
+ end
@@ -0,0 +1,32 @@
1
+ require "json"
2
+ require "nokogiri"
3
+
4
+ module Sei
5
+
6
+ module Printer
7
+
8
+ def self.jp(json_text)
9
+ puts JSON.pretty_generate json_text
10
+ end
11
+
12
+ def self.xp(xml_text)
13
+ xsl = <<~HEREDOC
14
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
15
+ <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
16
+ <xsl:strip-space elements="*"
17
+ <xsl:template match="/">
18
+ <xsl:copy-of select="."/>
19
+ </xsl:template>
20
+ </xsl:stylesheet>
21
+ HEREDOC
22
+
23
+ doc = Nokogiri::XML(xml_text)
24
+ xslt = Nokogiri::XSLT(xsl)
25
+ out = xslt.transform(doc)
26
+
27
+ puts out.to_xml
28
+ end
29
+
30
+ end
31
+
32
+ end
@@ -0,0 +1,247 @@
1
+ module Sei
2
+
3
+ module Servico
4
+
5
+ def self.gerar_procedimento(id_unidade, procedimento, documentos = [], procedimentos_relacionados = [], unidades_envio = [], manter_aberto_unidade = 'N',
6
+ enviar_email_notificacao = 'N', data_retorno_programado = nil, dias_retorno_programado = nil, dias_uteis_retorno_programado = 'N')
7
+ message = {
8
+ SiglaSistema: Sei.configuration.sigla,
9
+ IdentificacaoServico: Sei.configuration.identificacao,
10
+ IdUnidade: id_unidade,
11
+ Procedimento: procedimento.to_h,
12
+ Documentos: documentos.empty? ? {} : {documento: documentos.map{|documento| documento.to_h}},
13
+ ProcedimentosRelacionados: procedimentos_relacionados.empty? ? {} : {procedimento_relacionado: procedimentos_relacionados.map{|procedimentos_relacionado| procedimentos_relacionado.to_h}},
14
+ UnidadesEnvio: unidades_envio.empty? ? {} : {unidade_envio: unidades_envio.map{|unidade_envio| unidade_envio.to_message}},
15
+ SinManterAbertoUnidade: manter_aberto_unidade,
16
+ SinEnviarEmailNotificacao: enviar_email_notificacao,
17
+ DataRetornoProgramado: data_retorno_programado,
18
+ DiasRetornoProgramado: dias_retorno_programado,
19
+ SinDiasUteisRetornoProgramado: dias_uteis_retorno_programado
20
+ }
21
+ response = Sei::Connection.instance.call :gerar_procedimento, message: message
22
+ body = response.body[:gerar_procedimento_response][:parametros]
23
+ Sei::Estruturas::RetornoGeracaoProcedimento.new body
24
+ end
25
+
26
+ def self.incluir_documento(id_unidade, documento)
27
+ message = {
28
+ SiglaSistema: Sei.configuration.sigla,
29
+ IdentificacaoServico: Sei.configuration.identificacao,
30
+ IdUnidade: id_unidade,
31
+ Documento: documento.to_h
32
+ }
33
+ response = Sei::Connection.instance.call :incluir_documento, message: message
34
+ body = response.body[:incluir_documento_response][:parametros]
35
+ Sei::Estruturas::RetornoInclusaoDocumento.new body
36
+ end
37
+
38
+
39
+ def self.incluir_documento_bloco(id_unidade,id_bloco,protocolo_documento)
40
+ message = {
41
+ SiglaSistema: Sei.configuration.sigla,
42
+ IdentificacaoServico: Sei.configuration.identificacao,
43
+ IdUnidade: id_unidade,
44
+ IdBloco: id_bloco,
45
+ ProtocoloDocumento: protocolo_documento
46
+ }
47
+
48
+ response = Sei::Connection.instance.call :incluir_documento_bloco, message: message
49
+ body = response.body[:incluir_documento_bloco_response][:parametros]
50
+ Sei::Estruturas::RetornoInclusaoDocumentoBloco.new body
51
+ end
52
+
53
+ def self.incluir_processo_bloco(id_unidade,id_bloco,protocolo_procedimento)
54
+ message = {
55
+ SiglaSistema: Sei.configuration.sigla,
56
+ IdentificacaoServico: Sei.configuration.identificacao,
57
+ IdUnidade: id_unidade,
58
+ IdBloco: id_bloco,
59
+ ProtocoloProcedimento: protocolo_procedimento
60
+ }
61
+
62
+ response = Sei::Connection.instance.call :incluir_processo_bloco, message: message
63
+ body = response.body[:incluir_processo_bloco_response][:parametros]
64
+ Sei::Estruturas::RetornoInclusaoProcessoBloco.new body
65
+ end
66
+
67
+ def self.concluir_processo(id_unidade,protocolo_procedimento)
68
+ message = {
69
+ SiglaSistema: Sei.configuration.sigla,
70
+ IdentificacaoServico: Sei.configuration.identificacao,
71
+ IdUnidade: id_unidade,
72
+ ProtocoloProcedimento: protocolo_procedimento
73
+ }
74
+
75
+ response = Sei::Connection.instance.call :concluir_processo, message: message
76
+ body = response.body[:concluir_processo_response][:parametros]
77
+ Sei::Estruturas::RetornoConclusaoProcesso.new body
78
+
79
+ end
80
+
81
+ def self.reabrir_processo(id_unidade,protocolo_procedimento)
82
+ message = {
83
+ SiglaSistema: Sei.configuration.sigla,
84
+ IdentificacaoServico: Sei.configuration.identificacao,
85
+ IdUnidade: id_unidade,
86
+ ProtocoloProcedimento: protocolo_procedimento
87
+ }
88
+
89
+ response = Sei::Connection.instance.call :reabrir_processo, message: message
90
+ body = response.body[:reabrir_processo_response][:parametros]
91
+ Sei::Estruturas::RetornoBoolean.new body
92
+
93
+ end
94
+
95
+ def self.retirar_processo_bloco(id_unidade, id_bloco, protocolo_procedimento)
96
+ message = {
97
+ SiglaSistema: Sei.configuration.sigla,
98
+ IdentificacaoServico: Sei.configuration.identificacao,
99
+ IdUnidade: id_unidade,
100
+ IdBloco: id_bloco,
101
+ ProtocoloProcedimento: protocolo_procedimento
102
+ }
103
+
104
+ response = Sei::Connection.instance.call :retirar_processo_bloco, message: message
105
+ body = response.body[:retirar_processo_bloco_response][:parametros]
106
+ Sei::Estruturas::RetornoBoolean.new body
107
+ end
108
+
109
+ def self.atribuir_processo(id_unidade, protocolo_procedimento, id_usuario, sin_reabrir = 'N')
110
+ message = {
111
+ SiglaSistema: Sei.configuration.sigla,
112
+ IdentificacaoServico: Sei.configuration.identificacao,
113
+ IdUnidade: id_unidade,
114
+ ProtocoloProcedimento: protocolo_procedimento,
115
+ IdUsuario: id_usuario,
116
+ SinReabrir: sin_reabrir
117
+ }
118
+ response = Sei::Connection.instance.call :atribuir_processo, message: message
119
+ body = response.body[:atribuir_processo_response][:parametros]
120
+ Sei::Estruturas::RetornoBoolean.new body
121
+ end
122
+
123
+ def self.retirar_documento_bloco(id_unidade, id_bloco, protocolo_documento)
124
+ message = {
125
+ SiglaSistema: Sei.configuration.sigla,
126
+ IdentificacaoServico: Sei.configuration.identificacao,
127
+ IdUnidade: id_unidade,
128
+ IdBloco: id_bloco,
129
+ ProtocoloDocumento: protocolo_documento
130
+ }
131
+ response = Sei::Connection.instance.call :retirar_documento_bloco, message: message
132
+ body = response.body[:retirar_documento_bloco_response][:parametros]
133
+ Sei::Estruturas::RetornoBoolean.new body
134
+ end
135
+
136
+ def self.disponibilizar_bloco(id_unidade, id_bloco)
137
+ message = {
138
+ SiglaSistema: Sei.configuration.sigla,
139
+ IdentificacaoServico: Sei.configuration.identificacao,
140
+ IdUnidade: id_unidade,
141
+ IdBloco: id_bloco
142
+ }
143
+
144
+ response = Sei::Connection.instance.call :disponibilizar_bloco, message: message
145
+ body = response.body[:disponibilizar_bloco_response][:parametros]
146
+ Sei::Estruturas::RetornoBoolean.new body
147
+ end
148
+
149
+ def self.excluir_bloco(id_unidade, id_bloco)
150
+ message = {
151
+ SiglaSistema: Sei.configuration.sigla,
152
+ IdentificacaoServico: Sei.configuration.identificacao,
153
+ IdUnidade: id_unidade,
154
+ IdBloco: id_bloco
155
+ }
156
+ response = Sei::Connection.instance.call :excluir_bloco, message: message
157
+ body = response.body[:excluir_bloco_response][:parametros]
158
+ Sei::Estruturas::RetornoBoolean.new body
159
+ end
160
+
161
+ def self.cancelar_documento(id_unidade, protocolo_documento, motivo)
162
+ message = {
163
+ SiglaSistema: Sei.configuration.sigla,
164
+ IdentificacaoServico: Sei.configuration.identificacao,
165
+ IdUnidade: id_unidade,
166
+ ProtocoloDocumento: protocolo_documento,
167
+ Motivo: motivo
168
+ }
169
+ response = Sei::Connection.instance.call :cancelar_documento, message: message
170
+ body = response.body[:cancelar_documento_response][:parametros]
171
+ Sei::Estruturas::RetornoBoolean.new body
172
+ end
173
+
174
+ def self.listar_usuarios(id_unidade, id_usuario = nil)
175
+ message = {
176
+ SiglaSistema: Sei.configuration.sigla,
177
+ IdentificacaoServico: Sei.configuration.identificacao,
178
+ IdUnidade: id_unidade,
179
+ IdUsuario: id_usuario
180
+ }
181
+ response = Sei::Connection.instance.call :listar_usuarios, message: message
182
+ body = response.body[:listar_usuarios_response][:parametros]
183
+ Sei::Estruturas::RetornoListUsuarios.new body
184
+ end
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')
187
+ message = {
188
+ SiglaSistema: Sei.configuration.sigla,
189
+ IdentificacaoServico: Sei.configuration.identificacao,
190
+ IdUnidade: id_unidade,
191
+ ProtocoloProcedimento: protocolo_procedimento,
192
+ SinRetornarAssuntos: sin_retornar_assuntos,
193
+ SinRetornarInteressados: sin_retornar_interessados,
194
+ SinRetornarObservacoes: sin_retornar_observacoes,
195
+ SinRetornarAndamentoGeracao: sin_retornar_andamento_geracao,
196
+ SinRetornarAndamentoConclusao: sin_retornar_andamento_conclusao
197
+ }
198
+ response = Sei::Connection.instance.call :consultar_procedimento, message: message
199
+ body = response.body[:consultar_procedimento_response][:parametros]
200
+ Sei::Estruturas::RetornoConsultarProcedimento.new body
201
+ end
202
+
203
+ def self.listar_unidades(id_tipo_procedimento = nil,id_serie = nil)
204
+ message = {
205
+ SiglaSistema: Sei.configuration.sigla,
206
+ IdentificacaoServico: Sei.configuration.identificacao,
207
+ IdTipoProcedimento: id_tipo_procedimento,
208
+ IdSerie: id_serie
209
+ }
210
+ response = Sei::Connection.instance.call :listar_unidades, message: message
211
+ body = response.body[:listar_unidades_response][:parametros]
212
+ Sei::Estruturas::RetornoListUnidades.new body
213
+ end
214
+
215
+ def self.gerar_bloco(id_unidade, tipo, descricao,unidades_disponibilizacao = [], documentos = [], sin_disponibilizar = 'N')
216
+ message = {
217
+ SiglaSistema: Sei.configuration.sigla,
218
+ IdentificacaoServico: Sei.configuration.identificacao,
219
+ IdUnidade: id_unidade,
220
+ Tipo: tipo,
221
+ Descricao: descricao,
222
+ UnidadesDisponibilizacao: unidades_disponibilizacao,
223
+ SinDisponibilizar: sin_disponibilizar
224
+ }
225
+ response = Sei::Connection.instance.call :gerar_bloco, message: message
226
+ body = response.body[:gerar_bloco_response][:parametros]
227
+ Sei::Estruturas::RetornoGeracaoBloco.new body
228
+ end
229
+
230
+ def self.consultar_documento(id_unidade, protocolo_documento, sin_retornar_andamento_geracao = 'N', sin_retornar_assinaturas = 'N', sin_retornar_publicacao = 'N')
231
+ message = {
232
+ SiglaSistema: Sei.configuration.sigla,
233
+ IdentificacaoServico: Sei.configuration.identificacao,
234
+ IdUnidade: id_unidade,
235
+ ProtocoloDocumento: protocolo_documento,
236
+ SinRetornarAndamentoGeracao: sin_retornar_andamento_geracao,
237
+ SinRetornarAssinaturas: sin_retornar_assinaturas,
238
+ SinRetornarPublicacao: sin_retornar_publicacao
239
+ }
240
+ response = Sei::Connection.instance.call :consultar_documento, message: message
241
+ body = response.body[:consultar_documento_response][:parametros]
242
+ Sei::Estruturas::RetornoConsultarDocumento.new body
243
+ end
244
+
245
+ end
246
+
247
+ end
@@ -0,0 +1,3 @@
1
+ module Sei
2
+ VERSION = "0.1.5"
3
+ end
data/lib/zei.rb ADDED
@@ -0,0 +1,40 @@
1
+ require 'date'
2
+ require 'base64'
3
+ require 'savon'
4
+ require 'valuable'
5
+ require 'gem_config'
6
+
7
+ require 'sei/connection'
8
+ require 'sei/printer'
9
+ require 'sei/servico'
10
+ require 'sei/version'
11
+
12
+ require 'sei/estruturas/documento'
13
+ require 'sei/estruturas/procedimento'
14
+ require 'sei/estruturas/retorno_inclusao_documento'
15
+ require 'sei/estruturas/retorno_geracao_procedimento'
16
+ require 'sei/estruturas/retorno_unidade'
17
+ require 'sei/estruturas/retorno_list_unidades'
18
+ require 'sei/estruturas/retorno_geracao_bloco'
19
+ require 'sei/estruturas/retorno_inclusao_documento_bloco'
20
+ require 'sei/estruturas/retorno_inclusao_processo_bloco'
21
+ require 'sei/estruturas/retorno_conclusao_processo'
22
+ require 'sei/estruturas/retorno_boolean'
23
+ require 'sei/estruturas/retorno_usuario'
24
+ require 'sei/estruturas/retorno_list_usuarios'
25
+ require 'sei/estruturas/retorno_consultar_procedimento'
26
+ require 'sei/estruturas/retorno_consultar_documento'
27
+
28
+ module Sei
29
+
30
+ include GemConfig::Base
31
+
32
+ with_configuration do
33
+ has :wsdl, classes: String
34
+ has :follow_redirects
35
+ has :pretty_print_xml
36
+ has :sigla, classes: String
37
+ has :identificacao, classes: String
38
+ end
39
+
40
+ end
data/zei.gemspec ADDED
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'sei/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "zei"
8
+ spec.version = Sei::VERSION
9
+ spec.authors = ["Leandro Telles"]
10
+ spec.email = ["tellesleandro@gmail.com"]
11
+
12
+ spec.summary = "Integração com a API do SEI."
13
+ spec.description = "Expõe, através de métodos ruby, as funcionalidades da API do SEI."
14
+ spec.homepage = "https://github.com/tellesleandro/sei"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_development_dependency "bundler", "~> 1.13"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "minitest", "~> 5.0"
36
+
37
+ spec.add_runtime_dependency 'gem_config', '~> 0'
38
+ spec.add_runtime_dependency 'savon', '~> 2.12.0'
39
+ spec.add_runtime_dependency 'valuable', '~> 0'
40
+
41
+ end
metadata ADDED
@@ -0,0 +1,159 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zei
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.5
5
+ platform: ruby
6
+ authors:
7
+ - Leandro Telles
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-06-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: gem_config
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: savon
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 2.12.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 2.12.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: valuable
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Expõe, através de métodos ruby, as funcionalidades da API do SEI.
98
+ email:
99
+ - tellesleandro@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".DS_Store"
105
+ - ".gitignore"
106
+ - CODE_OF_CONDUCT.md
107
+ - Gemfile
108
+ - LICENSE.txt
109
+ - README.md
110
+ - Rakefile
111
+ - bin/console
112
+ - bin/setup
113
+ - lib/sei/connection.rb
114
+ - lib/sei/estruturas/documento.rb
115
+ - lib/sei/estruturas/documento_bloco.rb
116
+ - lib/sei/estruturas/procedimento.rb
117
+ - lib/sei/estruturas/retorno_boolean.rb
118
+ - lib/sei/estruturas/retorno_conclusao_processo.rb
119
+ - lib/sei/estruturas/retorno_consultar_documento.rb
120
+ - lib/sei/estruturas/retorno_consultar_procedimento.rb
121
+ - lib/sei/estruturas/retorno_geracao_bloco.rb
122
+ - lib/sei/estruturas/retorno_geracao_procedimento.rb
123
+ - lib/sei/estruturas/retorno_inclusao_documento.rb
124
+ - lib/sei/estruturas/retorno_inclusao_documento_bloco.rb
125
+ - lib/sei/estruturas/retorno_inclusao_processo_bloco.rb
126
+ - lib/sei/estruturas/retorno_list_unidades.rb
127
+ - lib/sei/estruturas/retorno_list_usuarios.rb
128
+ - lib/sei/estruturas/retorno_unidade.rb
129
+ - lib/sei/estruturas/retorno_usuario.rb
130
+ - lib/sei/printer.rb
131
+ - lib/sei/servico.rb
132
+ - lib/sei/version.rb
133
+ - lib/zei.rb
134
+ - zei.gemspec
135
+ homepage: https://github.com/tellesleandro/sei
136
+ licenses:
137
+ - MIT
138
+ metadata:
139
+ allowed_push_host: https://rubygems.org
140
+ post_install_message:
141
+ rdoc_options: []
142
+ require_paths:
143
+ - lib
144
+ required_ruby_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ requirements: []
155
+ rubygems_version: 3.0.1
156
+ signing_key:
157
+ specification_version: 4
158
+ summary: Integração com a API do SEI.
159
+ test_files: []