iesde 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README-OLD-API.md +258 -0
- data/README.md +137 -177
- data/examples/aulas/buscar.rb +45 -0
- data/examples/aulas/link_video.rb +36 -0
- data/examples/disciplinas/aulas.rb +30 -0
- data/examples/disciplinas/buscar.rb +27 -0
- data/examples/disciplinas/link_pdf.rb +14 -0
- data/examples/matriculas/ativar.rb +33 -0
- data/examples/matriculas/buscar.rb +15 -0
- data/examples/matriculas/criar.rb +38 -0
- data/examples/matriculas/criar_com_campos_obrigatorios.rb +20 -0
- data/iesde.gemspec +12 -3
- data/lib/concerns/linkable.rb +6 -0
- data/lib/concerns/stringable.rb +7 -0
- data/lib/concerns/underscorable.rb +13 -0
- data/lib/iesde.rb +28 -16
- data/lib/iesde/api.rb +109 -0
- data/lib/iesde/api/alterar_status_matricula.rb +9 -0
- data/lib/iesde/api/criar_matricula.rb +13 -0
- data/lib/iesde/api/obter_aula.rb +12 -0
- data/lib/iesde/api/obter_dados_pdf.rb +9 -0
- data/lib/iesde/api/obter_disciplina.rb +11 -0
- data/lib/iesde/api/obter_link_pdf.rb +10 -0
- data/lib/iesde/api/obter_matricula.rb +11 -0
- data/lib/iesde/api/obter_video.rb +11 -0
- data/lib/iesde/config.rb +2 -2
- data/lib/iesde/model/aula.rb +12 -21
- data/lib/iesde/model/disciplina.rb +45 -0
- data/lib/iesde/model/matricula.rb +43 -23
- data/lib/iesde/request.rb +70 -0
- data/lib/iesde/version.rb +1 -1
- metadata +171 -30
- data/lib/iesde/clients/buscararquivo.rb +0 -28
- data/lib/iesde/clients/cadastro.rb +0 -32
- data/lib/iesde/clients/inativa_acesso.rb +0 -21
- data/lib/iesde/clients/lista_curso.rb +0 -22
- data/lib/iesde/clients/logout.rb +0 -34
- data/lib/iesde/clients/obtem_aulas.rb +0 -21
- data/lib/iesde/clients/obtem_matriculas.rb +0 -23
- data/lib/iesde/error/validation_error.rb +0 -6
- data/lib/iesde/model/aluno.rb +0 -21
- data/lib/iesde/model/curso.rb +0 -113
- data/lib/iesde/wsdl_client.rb +0 -79
@@ -0,0 +1,12 @@
|
|
1
|
+
module Iesde
|
2
|
+
module Api
|
3
|
+
class ObterAula < ::Iesde::API
|
4
|
+
include Underscorable
|
5
|
+
|
6
|
+
def initialize(format, opts)
|
7
|
+
super(:aulas, format, opts)
|
8
|
+
@response = "[]" if as_json.is_a?(Hash) && tem_chave?("status") && ( status == false )
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
data/lib/iesde/config.rb
CHANGED
data/lib/iesde/model/aula.rb
CHANGED
@@ -1,34 +1,25 @@
|
|
1
1
|
module Iesde
|
2
2
|
module Model
|
3
3
|
class Aula
|
4
|
-
|
4
|
+
include Stringable
|
5
5
|
|
6
|
-
|
7
|
-
@curso_id, @nome_curso, @categoria, @subcategoria, @id, @ordem, @tema, @autores, @duracao, @login_aluno, @cpf, @disciplina_id, @disciplina = args
|
8
|
-
end
|
9
|
-
|
10
|
-
def self.buscar params
|
11
|
-
client_obtem_aulas = WSDLClient.create :obtem_aulas
|
12
|
-
aulas = client_obtem_aulas.run params
|
13
|
-
aulas.each do |aula|
|
14
|
-
aula.login = params[:login]
|
15
|
-
aula.senha = params[:senha]
|
16
|
-
end
|
17
|
-
end
|
6
|
+
attr_accessor :matricula_id, :curso_id, :grade_id, :disciplina_id, :aula_id, :tema
|
18
7
|
|
19
|
-
def
|
20
|
-
@
|
8
|
+
def initialize(*args)
|
9
|
+
@matricula_id, @curso_id, @grade_id, @disciplina_id, @aula_id, @tema = args
|
21
10
|
end
|
22
11
|
|
23
|
-
def
|
24
|
-
|
25
|
-
|
12
|
+
def self.buscar(opts)
|
13
|
+
aulas = Iesde::Api::ObterAula.new(:json, opts)
|
14
|
+
aulas.underscorize_fields(Aula)
|
26
15
|
end
|
27
16
|
|
28
|
-
def
|
29
|
-
|
17
|
+
def link_video(opts = {})
|
18
|
+
Iesde::Api::ObterVideo.new(:json, {
|
19
|
+
'MatriculaID' => matricula_id,
|
20
|
+
'AulaID' => aula_id
|
21
|
+
}.merge(opts)).link
|
30
22
|
end
|
31
|
-
|
32
23
|
end
|
33
24
|
end
|
34
25
|
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module Iesde
|
2
|
+
module Model
|
3
|
+
class Disciplina
|
4
|
+
include Stringable
|
5
|
+
|
6
|
+
attr_accessor :disciplina_id, :grade_id, :curso_id, :computed, :sigla, :situacao, :carga_horaria, :ementa, :plano_aula
|
7
|
+
|
8
|
+
def initialize(*args)
|
9
|
+
@disciplina_id, @grade_id, @curso_id, @computed, @sigla, @situacao, @carga_horaria, @ementa, @plano_aula = args
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.buscar(opts = {})
|
13
|
+
disciplinas = Iesde::Api::ObterDisciplina.new(:json, opts)
|
14
|
+
|
15
|
+
disciplinas.underscorize_fields(Disciplina)
|
16
|
+
end
|
17
|
+
|
18
|
+
def aulas(matricula_id, opts = {})
|
19
|
+
Iesde::Model::Aula.buscar({
|
20
|
+
'MatriculaID' => matricula_id,
|
21
|
+
'DisciplinaID' => disciplina_id
|
22
|
+
}.merge(opts))
|
23
|
+
end
|
24
|
+
|
25
|
+
def dados_pdf(matricula_id, opts = {})
|
26
|
+
Iesde::Api::ObterDadosPdf.new(:json, {
|
27
|
+
'MatriculaID' => matricula_id,
|
28
|
+
'DisciplinaID' => disciplina_id
|
29
|
+
}.merge(opts)).as_json
|
30
|
+
end
|
31
|
+
|
32
|
+
def link_pdf(matricula_id, livro_disciplina_id, opts = {})
|
33
|
+
Iesde::Api::ObterLinkPdf.new(:json, {
|
34
|
+
'MatriculaID' => matricula_id,
|
35
|
+
'LivroDisciplinaID' => livro_disciplina_id
|
36
|
+
}.merge(opts)).link
|
37
|
+
end
|
38
|
+
|
39
|
+
def pdf(matricula_id, opts = {})
|
40
|
+
livro_disciplina_id = dados_pdf(matricula_id, opts).first["LivroDisciplinaID"]
|
41
|
+
link_pdf(matricula_id, livro_disciplina_id, opts)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -1,46 +1,66 @@
|
|
1
1
|
module Iesde
|
2
2
|
module Model
|
3
3
|
class Matricula
|
4
|
-
|
4
|
+
include Stringable
|
5
|
+
|
6
|
+
attr_accessor :matricula_id, :login_id, :situacao, :dt_cadastro, :curso_id, :polo_id, :curso, :aluno, :cpf, :email, :situacao_descricao, :sexo
|
5
7
|
|
6
8
|
def initialize(*args)
|
7
|
-
@curso_id, @
|
9
|
+
@matricula_id, @login_id, @situacao, @dt_cadastro, @curso_id, @polo_id, @curso, @aluno, @cpf, @email, @situacao_descricao, @sexo = args
|
8
10
|
end
|
9
11
|
|
10
|
-
def self.buscar
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
matricula.login = params[:login]
|
15
|
-
matricula.senha = params[:senha]
|
16
|
-
end
|
12
|
+
def self.buscar(config = {})
|
13
|
+
matriculas_obtidas = Iesde::Api::ObterMatricula.new(:json, config)
|
14
|
+
|
15
|
+
matriculas_obtidas.underscorize_fields(Matricula)
|
17
16
|
end
|
18
17
|
|
19
18
|
def self.criar params
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
matricula = Iesde::Api::CriarMatricula.new(:json, params)
|
20
|
+
|
21
|
+
if matricula.salvo_com_sucesso?
|
22
|
+
Iesde::Model::Matricula.buscar.select do |mat|
|
23
|
+
mat.matricula_id.to_s == matricula.matricula_id_do_retorno.to_s
|
24
|
+
end.first
|
25
|
+
else
|
26
|
+
raise Iesde::Error::WSError.new(matricula.msg)
|
24
27
|
end
|
25
28
|
end
|
26
29
|
|
27
|
-
def self.
|
28
|
-
|
29
|
-
|
30
|
+
def self.criar_com_campos_obrigatorios(curso_id, nome, cpf, email, cep, numero)
|
31
|
+
self.criar(
|
32
|
+
'CursoID' => curso_id,
|
33
|
+
'Nome' => nome,
|
34
|
+
'CPF' => cpf,
|
35
|
+
'Email' => email,
|
36
|
+
'CEP' => cep,
|
37
|
+
'Numero' => numero
|
38
|
+
)
|
30
39
|
end
|
31
40
|
|
32
|
-
def
|
33
|
-
|
34
|
-
end
|
41
|
+
def self.alterar_status(params)
|
42
|
+
api = Iesde::Api::AlterarStatusMatricula.new(:json, params)
|
35
43
|
|
36
|
-
|
37
|
-
|
44
|
+
if api.salvo_com_sucesso?
|
45
|
+
api.msg
|
46
|
+
else
|
47
|
+
raise Iesde::Error::WSError.new(api.msg)
|
48
|
+
end
|
38
49
|
end
|
39
50
|
|
40
|
-
def
|
41
|
-
|
51
|
+
def ativar!(opts = {})
|
52
|
+
Iesde::Model::Matricula.alterar_status({
|
53
|
+
'MatriculaID' => self.matricula_id,
|
54
|
+
'Situacao' => 'A'
|
55
|
+
}.merge(opts))
|
42
56
|
end
|
43
57
|
|
58
|
+
def inativar!(opts = {})
|
59
|
+
Iesde::Model::Matricula.alterar_status({
|
60
|
+
'MatriculaID' => self.matricula_id,
|
61
|
+
'Situacao' => 'I'
|
62
|
+
}.merge(opts))
|
63
|
+
end
|
44
64
|
end
|
45
65
|
end
|
46
66
|
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
module Iesde
|
2
|
+
class Request
|
3
|
+
def initialize(ask_for, format, api)
|
4
|
+
@api = api[:config]
|
5
|
+
@uri = build_uri(ask_for, format)
|
6
|
+
@format = format
|
7
|
+
@retorno = []
|
8
|
+
end
|
9
|
+
|
10
|
+
def execute(opts = {})
|
11
|
+
res = do_the_post(opts)
|
12
|
+
|
13
|
+
case res.code
|
14
|
+
when '200'
|
15
|
+
@retorno = res.body
|
16
|
+
when '400'
|
17
|
+
@retorno = res.body
|
18
|
+
else
|
19
|
+
raise "Ocorreu um erro"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def build_uri(ask_for, format)
|
26
|
+
url = Iesde::API.build_url(ask_for, format)
|
27
|
+
_uri = URI.parse(url)
|
28
|
+
_uri.user = @api[:user]
|
29
|
+
_uri.password = @api[:password]
|
30
|
+
|
31
|
+
_uri
|
32
|
+
end
|
33
|
+
|
34
|
+
def do_the_post(opts = {})
|
35
|
+
h = config_host
|
36
|
+
auth = pega_autorizacao(h)
|
37
|
+
|
38
|
+
req = Net::HTTP::Post.new(@uri.request_uri)
|
39
|
+
req.add_field 'Authorization', auth
|
40
|
+
req.add_field 'ead-api-key', @api[:ead_api_key]
|
41
|
+
req.set_form_data(opts)
|
42
|
+
|
43
|
+
res = h.request(req)
|
44
|
+
|
45
|
+
res
|
46
|
+
end
|
47
|
+
|
48
|
+
def pega_autorizacao(h)
|
49
|
+
res = pega_autenticacao(h)
|
50
|
+
digest_auth = Net::HTTP::DigestAuth.new
|
51
|
+
auth = digest_auth.auth_header @uri, res['www-authenticate'], 'POST'
|
52
|
+
|
53
|
+
auth
|
54
|
+
end
|
55
|
+
|
56
|
+
def pega_autenticacao(h)
|
57
|
+
req = Net::HTTP::Head.new(@uri.request_uri)
|
58
|
+
res = h.request(req)
|
59
|
+
|
60
|
+
res
|
61
|
+
end
|
62
|
+
|
63
|
+
def config_host
|
64
|
+
http = Net::HTTP.new(@uri.host, @uri.port)
|
65
|
+
http.set_debug_output $stderr if ENV['DEBUG']
|
66
|
+
|
67
|
+
http
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
data/lib/iesde/version.rb
CHANGED
metadata
CHANGED
@@ -1,119 +1,260 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iesde
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pedro Benevides
|
8
|
+
- Heron Medeiros
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2017-03-03 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
|
-
- - ~>
|
18
|
+
- - "~>"
|
18
19
|
- !ruby/object:Gem::Version
|
19
20
|
version: '1.8'
|
20
21
|
type: :development
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- - ~>
|
25
|
+
- - "~>"
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: '1.8'
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: rake
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- - ~>
|
32
|
+
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
34
|
version: '10.0'
|
34
35
|
type: :development
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
|
-
- - ~>
|
39
|
+
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: '10.0'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: savon
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
|
-
- - ~>
|
46
|
+
- - "~>"
|
46
47
|
- !ruby/object:Gem::Version
|
47
48
|
version: '2.10'
|
48
49
|
type: :runtime
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
|
-
- - ~>
|
53
|
+
- - "~>"
|
53
54
|
- !ruby/object:Gem::Version
|
54
55
|
version: '2.10'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: json
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- - ~>
|
60
|
+
- - "~>"
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '1.7'
|
62
63
|
type: :runtime
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
|
-
- - ~>
|
67
|
+
- - "~>"
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
version: '1.7'
|
69
70
|
- !ruby/object:Gem::Dependency
|
70
71
|
name: activesupport
|
71
72
|
requirement: !ruby/object:Gem::Requirement
|
72
73
|
requirements:
|
73
|
-
- - ~>
|
74
|
+
- - "~>"
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: '4.2'
|
76
77
|
type: :runtime
|
77
78
|
prerelease: false
|
78
79
|
version_requirements: !ruby/object:Gem::Requirement
|
79
80
|
requirements:
|
80
|
-
- - ~>
|
81
|
+
- - "~>"
|
81
82
|
- !ruby/object:Gem::Version
|
82
83
|
version: '4.2'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: actionview
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: net-http-digest_auth
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: rspec
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: awesome_print
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: pry
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: pry-byebug
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: vcr
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
type: :development
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - ">="
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: webmock
|
184
|
+
requirement: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
type: :development
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: simplecov
|
198
|
+
requirement: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - ">="
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '0'
|
203
|
+
type: :development
|
204
|
+
prerelease: false
|
205
|
+
version_requirements: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - ">="
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
83
210
|
description: Esta não é uma versão oficial
|
84
211
|
email:
|
85
212
|
- pedroaugusto@gmail.com
|
213
|
+
- heron.medeiros@gmail.com
|
86
214
|
executables: []
|
87
215
|
extensions: []
|
88
216
|
extra_rdoc_files: []
|
89
217
|
files:
|
90
|
-
- .gitignore
|
91
|
-
- .rspec
|
92
|
-
- .travis.yml
|
218
|
+
- ".gitignore"
|
219
|
+
- ".rspec"
|
220
|
+
- ".travis.yml"
|
93
221
|
- Gemfile
|
94
222
|
- LICENSE
|
223
|
+
- README-OLD-API.md
|
95
224
|
- README.md
|
96
225
|
- Rakefile
|
97
226
|
- bin/console
|
98
227
|
- bin/setup
|
228
|
+
- examples/aulas/buscar.rb
|
229
|
+
- examples/aulas/link_video.rb
|
230
|
+
- examples/disciplinas/aulas.rb
|
231
|
+
- examples/disciplinas/buscar.rb
|
232
|
+
- examples/disciplinas/link_pdf.rb
|
233
|
+
- examples/matriculas/ativar.rb
|
234
|
+
- examples/matriculas/buscar.rb
|
235
|
+
- examples/matriculas/criar.rb
|
236
|
+
- examples/matriculas/criar_com_campos_obrigatorios.rb
|
99
237
|
- iesde.gemspec
|
238
|
+
- lib/concerns/linkable.rb
|
239
|
+
- lib/concerns/stringable.rb
|
240
|
+
- lib/concerns/underscorable.rb
|
100
241
|
- lib/iesde.rb
|
101
|
-
- lib/iesde/
|
102
|
-
- lib/iesde/
|
103
|
-
- lib/iesde/
|
104
|
-
- lib/iesde/
|
105
|
-
- lib/iesde/
|
106
|
-
- lib/iesde/
|
107
|
-
- lib/iesde/
|
242
|
+
- lib/iesde/api.rb
|
243
|
+
- lib/iesde/api/alterar_status_matricula.rb
|
244
|
+
- lib/iesde/api/criar_matricula.rb
|
245
|
+
- lib/iesde/api/obter_aula.rb
|
246
|
+
- lib/iesde/api/obter_dados_pdf.rb
|
247
|
+
- lib/iesde/api/obter_disciplina.rb
|
248
|
+
- lib/iesde/api/obter_link_pdf.rb
|
249
|
+
- lib/iesde/api/obter_matricula.rb
|
250
|
+
- lib/iesde/api/obter_video.rb
|
108
251
|
- lib/iesde/config.rb
|
109
|
-
- lib/iesde/error/validation_error.rb
|
110
252
|
- lib/iesde/error/ws_error.rb
|
111
|
-
- lib/iesde/model/aluno.rb
|
112
253
|
- lib/iesde/model/aula.rb
|
113
|
-
- lib/iesde/model/
|
254
|
+
- lib/iesde/model/disciplina.rb
|
114
255
|
- lib/iesde/model/matricula.rb
|
256
|
+
- lib/iesde/request.rb
|
115
257
|
- lib/iesde/version.rb
|
116
|
-
- lib/iesde/wsdl_client.rb
|
117
258
|
homepage: https://github.com/fortesinformatica/iesde
|
118
259
|
licenses:
|
119
260
|
- MIT
|
@@ -124,18 +265,18 @@ require_paths:
|
|
124
265
|
- lib
|
125
266
|
required_ruby_version: !ruby/object:Gem::Requirement
|
126
267
|
requirements:
|
127
|
-
- -
|
268
|
+
- - ">="
|
128
269
|
- !ruby/object:Gem::Version
|
129
270
|
version: '0'
|
130
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
272
|
requirements:
|
132
|
-
- -
|
273
|
+
- - ">="
|
133
274
|
- !ruby/object:Gem::Version
|
134
275
|
version: '0'
|
135
276
|
requirements: []
|
136
277
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.4.
|
278
|
+
rubygems_version: 2.4.8
|
138
279
|
signing_key:
|
139
280
|
specification_version: 4
|
140
|
-
summary: Client do WebService
|
281
|
+
summary: Client do WebService REST do IESDE
|
141
282
|
test_files: []
|