gerint 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 370a0e5538be88d430c4bd5b7d6199782962e2fa7f16f1d77629e22ce419991b
4
- data.tar.gz: bf7f433ab54ca8005fd30e81416049c0327b94dae6dbc697cfc332807383b386
3
+ metadata.gz: f11ef9c8ca836d5adba29acc4e725750fb2bed1998c4870a66f68613eb82f85c
4
+ data.tar.gz: e78aa00ce8c4282ff67f8392b156d388b47f32463fe89766176982866e547f72
5
5
  SHA512:
6
- metadata.gz: b5e70fde713b6e92f315db54a3bddab58aea78812c97898905632b23febc998903054f12c4b1709e145bec0877eaef82ecf212a0bceda55508ce6f390dce5918
7
- data.tar.gz: 414d1295c634de2566aa057500e82ae608917018ef39ab05d22c6d258838ae081331fb5e03b159f4073adfa4e92e4eb14c448626179f62d8ab138db59e0691a5
6
+ metadata.gz: a4bbf5dfb690f79a72ebcb6fa3c2a5eb6ca6e1e940cc0bc50a8a6c60f6257e33dc2209293e158f5ce7347772b8949e25d1c1ecb0a456a70a718a3ff4be6c018b
7
+ data.tar.gz: 8363447e64635e89d84b8e036a519348ca027d27ecb944fd6555baaa0ee59630ad883116298ad792180df2fcb9c5f7de153b3a608ce2d676f0af312c5a7458bd
@@ -4,6 +4,7 @@ module Gerint
4
4
  class Alta < Gerint::Padrao
5
5
  attr_accessor :protocoloSolicitacao, :dataAlta, :identMotivoAlta, :cpfMedicoAlta, :identEncaminhamentoPosAlta
6
6
  attr_accessor :resumoInternacao, :prescricaoAlta, :cidPrincipal
7
+ attr_accessor :fileName, :mimeType, :conteudo
7
8
 
8
9
  def as_json(options={})
9
10
  h = {
@@ -11,6 +12,9 @@ module Gerint
11
12
  dataAlta: @dataAlta,
12
13
  identMotivoAlta: @identMotivoAlta
13
14
  }
15
+ h.store(:fileName, @fileName) unless @fileName.nil?
16
+ h.store(:mimeType, @mimeType) unless @mimeType.nil?
17
+ h.store(:conteudo, @conteudo) unless @conteudo.nil?
14
18
  h.store(:cpfMedicoAlta, @cpfMedicoAlta) unless @cpfMedicoAlta.nil?
15
19
  h.store(:identEncaminhamentoPosAlta, @identEncaminhamentoPosAlta) unless @identEncaminhamentoPosAlta.nil?
16
20
  h.store(:resumoInternacao, @resumoInternacao) unless @resumoInternacao.nil?
@@ -1,3 +1,3 @@
1
1
  module Gerint
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gerint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nelson Coelho