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 +4 -4
- data/lib/enotas_nfe.rb +2 -0
- data/lib/enotas_nfe/model/cidade_prestacao.rb +16 -0
- data/lib/enotas_nfe/model/metadados.rb +12 -0
- data/lib/enotas_nfe/model/nfe.rb +2 -0
- data/lib/enotas_nfe/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5019961f0f1ffbe02b643cbc42148d4ec5ae581be9e97695a8c274af5fb5fbe6
|
4
|
+
data.tar.gz: 5f4483550af091128717ce71febaaf6d22a9b2cd89d7529b0f51fae0d372ca08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8533551e6d1f6a0c0b137ec2e23dd6d8f0bd864fbdf97e29ffe71bf914e4a461a7bd39e178888d6aa7421aea7e16b88cb73de4f0915610de7ad398807864a0be
|
7
|
+
data.tar.gz: eaa60317cef59d5cbe7c40c5ff3cd5e6c0dc0dba5699647e5042d127cfb472c124955727b456d216b051e371db7aa5129944b3ce3485acdd87d1f4ba4743614c
|
data/lib/enotas_nfe.rb
CHANGED
@@ -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
|
data/lib/enotas_nfe/model/nfe.rb
CHANGED
@@ -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
|
data/lib/enotas_nfe/version.rb
CHANGED
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.
|
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:
|
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.
|
193
|
+
rubygems_version: 3.1.2
|
192
194
|
signing_key:
|
193
195
|
specification_version: 4
|
194
196
|
summary: E-Notas nfe
|