receitaws_client 0.0.9 → 0.0.91

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: f4faab0d0565ebfab3cb2efb385e9646041476607ee560050876ab807fe8fe68
4
- data.tar.gz: 71a20fc8092f1a8871da86676186d6cfa0afd5a85adb5d8c981e86cad9b8862c
3
+ metadata.gz: 02c62d2a458d10190a2150c2911bfda41faa059d0b2d5820d5c2e26c72c96495
4
+ data.tar.gz: 1683dfc5d624ffb6604ac0a95be27b75c28edda82a6d0ad7fccd88e639aa17b6
5
5
  SHA512:
6
- metadata.gz: f92d6816f181f5af063190e67e76c4669d8765c5f5e428bc0c6aee78bc9b950e635a99238ac238c1c5c0604b20b060923bd01795906436f2f95a1534e38735b5
7
- data.tar.gz: f9640e1af0a266e9d5c8471826cd2f31226f7de8067aa86490b49eaff79eb638f37c82094786d4a343be32ffebe235b436e51360717bc66e2c7e0f22701311f7
6
+ metadata.gz: 4fd8ff507a9af4bbcc21e76109223526452ce4c231ddd421af161bede1fe9cff7211bdf9c38469b2a7b340accc6ed93fac913dc0eef4a31a18d677affa43d62b
7
+ data.tar.gz: da7b3cbb8674819f76b0866a4048f79c095b62164cc54514e7e857fe7fdefa0cf414e66649f886c2a5efb3e2d17771dbd83f6dfc01dd6acdbaafcc6d1518c4a0
@@ -30,7 +30,7 @@ module ReceitawsClient
30
30
  @numero = result['numero']
31
31
  @cep = result['cep']
32
32
  @municipio = result['municipio']
33
- @abertura = result['abertura']
33
+ @data_de_criacao = result['abertura']
34
34
  @data_situacao = result['data_situacao']
35
35
  @situacao = result['situacao']
36
36
  @complemento = result['complemento']
@@ -25,7 +25,7 @@ module ReceitawsClient
25
25
  rescue StandardError
26
26
  Rails.logger.info 'ERROR - Serviço ReceitaWS não retornou a solicitação!'
27
27
  result = { 'status' => 'error', 'message' => 'ERROR - Serviço ReceitaWS não retornou a solicitação!' }
28
- return ReceitawsClient::Cnpj.new(result)
28
+ return result
29
29
  end
30
30
  end
31
31
  end
@@ -4,7 +4,7 @@ module ReceitawsClient
4
4
  module Version
5
5
  MAJOR = 0
6
6
  MINOR = 0
7
- PATCH = 9
7
+ PATCH = 91
8
8
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: receitaws_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.91
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Guerra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-11-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Client Rails não oficial do Webservice da ReceitaWS - https://receitaws.com.br/
14
14
  email: