enotas_nfe 0.0.23 → 0.0.24
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/model/cide.rb +12 -0
- data/lib/enotas_nfe/model/combustivel.rb +17 -0
- data/lib/enotas_nfe/model/produto.rb +2 -0
- data/lib/enotas_nfe/model/transportadora.rb +1 -1
- data/lib/enotas_nfe/version.rb +1 -1
- data/lib/enotas_nfe.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c6dfa1e599b3fa6c9df3bbf2500e18b494478c1
|
4
|
+
data.tar.gz: ad02d5422d85e8960abc669692820299fc446fce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d6107b605055eccd30d3069f24ea07e9041a03bd2a883de734751d921b5b174864f9a86554b1c497ed145d3dec00e66cf60e6a5cc9ad7adfd3a1419fae59f0f
|
7
|
+
data.tar.gz: 52a1d89d199a0bde9d7e7490dbc8cfd809aa47730d7ef867ebc8b4509978ebe95ed36d3fa0947b2775ca8af373124c6e1ee428356d0fe245e3e8fb224e2e5d7f
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module EnotasNfe
|
2
|
+
module Model
|
3
|
+
class Combustivel
|
4
|
+
|
5
|
+
include Virtus.model
|
6
|
+
require "enotas_nfe/model/cide"
|
7
|
+
|
8
|
+
attribute :cide, Cide
|
9
|
+
attribute :codigoProdutoANP, String
|
10
|
+
attribute :percentualGasNatural, Float
|
11
|
+
attribute :codif, Integer
|
12
|
+
attribute :quantidadeFaturadaTempAmbiente, Float
|
13
|
+
attribute :ufConsumo, String
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -4,6 +4,7 @@ module EnotasNfe
|
|
4
4
|
|
5
5
|
include Virtus.model
|
6
6
|
require "enotas_nfe/model/impostos"
|
7
|
+
require "enotas_nfe/model/combustivel"
|
7
8
|
|
8
9
|
attribute :descricao, String
|
9
10
|
attribute :cfop, String
|
@@ -16,6 +17,7 @@ module EnotasNfe
|
|
16
17
|
attribute :valorUnitario, Float
|
17
18
|
attribute :descontos, Float
|
18
19
|
attribute :impostos, Impostos
|
20
|
+
attribute :combustivel, Combustivel
|
19
21
|
attribute :outrasDespesas, Float
|
20
22
|
attribute :seguro, Float
|
21
23
|
|
data/lib/enotas_nfe/version.rb
CHANGED
data/lib/enotas_nfe.rb
CHANGED
@@ -39,6 +39,8 @@ require "enotas_nfe/model/nfe"
|
|
39
39
|
require "enotas_nfe/model/carta_correcao"
|
40
40
|
require "enotas_nfe/model/cofins"
|
41
41
|
require "enotas_nfe/model/icms"
|
42
|
+
require "enotas_nfe/model/cide"
|
43
|
+
require "enotas_nfe/model/combustivel"
|
42
44
|
require "enotas_nfe/model/impostos"
|
43
45
|
require "enotas_nfe/model/issqn"
|
44
46
|
require "enotas_nfe/model/pis"
|
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.24
|
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: 2018-
|
11
|
+
date: 2018-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -135,8 +135,10 @@ 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/cide.rb
|
138
139
|
- lib/enotas_nfe/model/cliente.rb
|
139
140
|
- lib/enotas_nfe/model/cofins.rb
|
141
|
+
- lib/enotas_nfe/model/combustivel.rb
|
140
142
|
- lib/enotas_nfe/model/configuracoes_nfse_homologacao.rb
|
141
143
|
- lib/enotas_nfe/model/configuracoes_nfse_producao.rb
|
142
144
|
- lib/enotas_nfe/model/credenciadora_cartao.rb
|