enotas_nfe 0.0.32 → 0.0.33

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: e9e275e6a2c910bc85e278390fa1453065cefa077765c50d6f54b24937780f2a
4
- data.tar.gz: d0eee47ed19e435ee5042e40dd66a79888caa0e322c68150043cee8fa21d8c38
3
+ metadata.gz: 5019961f0f1ffbe02b643cbc42148d4ec5ae581be9e97695a8c274af5fb5fbe6
4
+ data.tar.gz: 5f4483550af091128717ce71febaaf6d22a9b2cd89d7529b0f51fae0d372ca08
5
5
  SHA512:
6
- metadata.gz: c5430819f3f98bef2a282cbfee8cbeaeb1fd0cde628702706a015b3b7e05c046f1aae21d007a96b8635830a7542bb9a91a7dfa81cd766c2fdb968d00754e795b
7
- data.tar.gz: 3f0c64ad56110a60c954edc09db5acdd20ae999c81e4ab77b604a401b20c59a4e11e0655a262e330f7a4096f3c72734bd971a0cafee44e20b5b9df0f26179866
6
+ metadata.gz: 8533551e6d1f6a0c0b137ec2e23dd6d8f0bd864fbdf97e29ffe71bf914e4a461a7bd39e178888d6aa7421aea7e16b88cb73de4f0915610de7ad398807864a0be
7
+ data.tar.gz: eaa60317cef59d5cbe7c40c5ff3cd5e6c0dc0dba5699647e5042d127cfb472c124955727b456d216b051e371db7aa5129944b3ce3485acdd87d1f4ba4743614c
@@ -44,6 +44,8 @@ require "enotas_nfe/model/combustivel"
44
44
  require "enotas_nfe/model/impostos"
45
45
  require "enotas_nfe/model/issqn"
46
46
  require "enotas_nfe/model/pis"
47
+ require "enotas_nfe/model/metadados"
48
+ require "enotas_nfe/model/cidade_prestacao"
47
49
  require "enotas_nfe/facades"
48
50
  require "enotas_nfe/client"
49
51
 
@@ -0,0 +1,16 @@
1
+ module EnotasNfe
2
+ module Model
3
+ class CidadePrestacao
4
+
5
+ include Virtus.model
6
+
7
+ attribute :siglaUF, String
8
+ attribute :municipio, String
9
+ attribute :logradouro, String
10
+ attribute :numero, String
11
+ attribute :bairro, String
12
+ attribute :cep, String
13
+
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,12 @@
1
+ module EnotasNfe
2
+ module Model
3
+ class Metadados
4
+
5
+ include Virtus.model
6
+ require "enotas_nfe/model/cidade_prestacao"
7
+
8
+ attribute :cidadeprestacao, CidadePrestacao
9
+
10
+ end
11
+ end
12
+ end
@@ -3,6 +3,7 @@ module EnotasNfe
3
3
  class Nfe
4
4
 
5
5
  include Virtus.model
6
+ require "enotas_nfe/model/metadados"
6
7
 
7
8
  attribute :id, String
8
9
  attribute :numero, Integer
@@ -34,6 +35,7 @@ module EnotasNfe
34
35
  attribute :nfeReferenciada, Array
35
36
  attribute :transporte, Transporte
36
37
  attribute :observacoes, String
38
+ attribute :metadados, Metadados
37
39
 
38
40
  end
39
41
  end
@@ -1,3 +1,3 @@
1
1
  module EnotasNfe
2
- VERSION = "0.0.32"
2
+ VERSION = "0.0.33"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enotas_nfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Fernando Pimenta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-30 00:00:00.000000000 Z
11
+ date: 2021-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -135,6 +135,7 @@ files:
135
135
  - lib/enotas_nfe/model/caracteristica_prefeitura.rb
136
136
  - lib/enotas_nfe/model/carta_correcao.rb
137
137
  - lib/enotas_nfe/model/certificado_digital.rb
138
+ - lib/enotas_nfe/model/cidade_prestacao.rb
138
139
  - lib/enotas_nfe/model/cide.rb
139
140
  - lib/enotas_nfe/model/cliente.rb
140
141
  - lib/enotas_nfe/model/cofins.rb
@@ -153,6 +154,7 @@ files:
153
154
  - lib/enotas_nfe/model/icms.rb
154
155
  - lib/enotas_nfe/model/impostos.rb
155
156
  - lib/enotas_nfe/model/issqn.rb
157
+ - lib/enotas_nfe/model/metadados.rb
156
158
  - lib/enotas_nfe/model/nfe.rb
157
159
  - lib/enotas_nfe/model/nfe_referenciada.rb
158
160
  - lib/enotas_nfe/model/pagamento.rb
@@ -188,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
190
  - !ruby/object:Gem::Version
189
191
  version: '0'
190
192
  requirements: []
191
- rubygems_version: 3.0.3
193
+ rubygems_version: 3.1.2
192
194
  signing_key:
193
195
  specification_version: 4
194
196
  summary: E-Notas nfe