enotas_nfe 0.0.6 → 0.0.7
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/endereco_entrega.rb +20 -0
- data/lib/enotas_nfe/model/frete.rb +12 -0
- data/lib/enotas_nfe/model/nfe.rb +2 -0
- data/lib/enotas_nfe/model/nfe_referenciada.rb +11 -0
- data/lib/enotas_nfe/model/transportadora.rb +17 -0
- data/lib/enotas_nfe/model/transporte.rb +15 -0
- data/lib/enotas_nfe/model/veiculo.rb +13 -0
- data/lib/enotas_nfe/model/volume.rb +16 -0
- data/lib/enotas_nfe/version.rb +1 -1
- data/lib/enotas_nfe.rb +7 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e5d52a7567345c4d663e17c8598efdf465dd421
|
4
|
+
data.tar.gz: 2e7ab867f94edc66f4b13a1bfe853b5eb392849f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 416f3ff9fa953217ff3b4d33cc1ff3df7ee1bc49b3b47c634b5204c431b6478a4c8d12475b0cb82ba15df19052c9c7c3cd6d807346674acd3bef6478db07f5f1
|
7
|
+
data.tar.gz: 98e99300f0981b7235e0347d1a3735b94b15d9bcd50970db54d64fd5b064de23e2e4c2cfdcb45324125f29cac508f15761c0d53a352e4cbcf1637534f8e6ec16
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module EnotasNfe
|
2
|
+
module Model
|
3
|
+
class EnderecoEntrega
|
4
|
+
|
5
|
+
include Virtus.model
|
6
|
+
|
7
|
+
attribute :tipoPessoaDestinatario, String
|
8
|
+
attribute :cpfCnpjDestinatario, String
|
9
|
+
attribute :pais, String
|
10
|
+
attribute :uf, String
|
11
|
+
attribute :cidade, String
|
12
|
+
attribute :logradouro, String
|
13
|
+
attribute :numero, String
|
14
|
+
attribute :complemento, String
|
15
|
+
attribute :bairro, String
|
16
|
+
attribute :cep, String
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/enotas_nfe/model/nfe.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
module EnotasNfe
|
2
|
+
module Model
|
3
|
+
class Transportadora
|
4
|
+
|
5
|
+
include Virtus.model
|
6
|
+
|
7
|
+
attribute :usarDadosEmitente, Boolean
|
8
|
+
attribute :tipoPessoa, String
|
9
|
+
attribute :CpfCnpj, String
|
10
|
+
attribute :nome, String
|
11
|
+
attribute :inscricaoEstadual, String
|
12
|
+
attribute :endereco, String
|
13
|
+
attribute :cidade, String
|
14
|
+
attribute :uf, String
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module EnotasNfe
|
2
|
+
module Model
|
3
|
+
class Transporte
|
4
|
+
|
5
|
+
include Virtus.model
|
6
|
+
|
7
|
+
attribute :frete, Frete
|
8
|
+
attribute :enderecoEntrega, EnderecoEntrega
|
9
|
+
attribute :transportadora, Transportadora
|
10
|
+
attribute :veiculo, Veiculo
|
11
|
+
attribute :volume, Volume
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module EnotasNfe
|
2
|
+
module Model
|
3
|
+
class Volume
|
4
|
+
|
5
|
+
include Virtus.model
|
6
|
+
|
7
|
+
attribute :quantidade, Float
|
8
|
+
attribute :especie, String
|
9
|
+
attribute :marca, String
|
10
|
+
attribute :numeracao, Integer
|
11
|
+
attribute :pesoLiquido, Float
|
12
|
+
attribute :pesoBruto, Float
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/enotas_nfe/version.rb
CHANGED
data/lib/enotas_nfe.rb
CHANGED
@@ -22,6 +22,13 @@ require "enotas_nfe/model/empresa"
|
|
22
22
|
require "enotas_nfe/model/pagamento"
|
23
23
|
require "enotas_nfe/model/forma_pagamento"
|
24
24
|
require "enotas_nfe/model/pedido"
|
25
|
+
require "enotas_nfe/model/nfe_referenciada"
|
26
|
+
require "enotas_nfe/model/veiculo"
|
27
|
+
require "enotas_nfe/model/volume"
|
28
|
+
require "enotas_nfe/model/endereco_entrega"
|
29
|
+
require "enotas_nfe/model/transportadora"
|
30
|
+
require "enotas_nfe/model/frete"
|
31
|
+
require "enotas_nfe/model/transporte"
|
25
32
|
require "enotas_nfe/model/nfe"
|
26
33
|
require "enotas_nfe/model/cofins"
|
27
34
|
require "enotas_nfe/model/icms"
|
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.7
|
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: 2017-12-
|
11
|
+
date: 2017-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -140,16 +140,23 @@ files:
|
|
140
140
|
- lib/enotas_nfe/model/emissao_nfe_consumidor.rb
|
141
141
|
- lib/enotas_nfe/model/empresa.rb
|
142
142
|
- lib/enotas_nfe/model/endereco.rb
|
143
|
+
- lib/enotas_nfe/model/endereco_entrega.rb
|
143
144
|
- lib/enotas_nfe/model/forma_pagamento.rb
|
145
|
+
- lib/enotas_nfe/model/frete.rb
|
144
146
|
- lib/enotas_nfe/model/icms.rb
|
145
147
|
- lib/enotas_nfe/model/impostos.rb
|
146
148
|
- lib/enotas_nfe/model/issqn.rb
|
147
149
|
- lib/enotas_nfe/model/nfe.rb
|
150
|
+
- lib/enotas_nfe/model/nfe_referenciada.rb
|
148
151
|
- lib/enotas_nfe/model/pagamento.rb
|
149
152
|
- lib/enotas_nfe/model/pedido.rb
|
150
153
|
- lib/enotas_nfe/model/pis.rb
|
151
154
|
- lib/enotas_nfe/model/produto.rb
|
152
155
|
- lib/enotas_nfe/model/servico.rb
|
156
|
+
- lib/enotas_nfe/model/transportadora.rb
|
157
|
+
- lib/enotas_nfe/model/transporte.rb
|
158
|
+
- lib/enotas_nfe/model/veiculo.rb
|
159
|
+
- lib/enotas_nfe/model/volume.rb
|
153
160
|
- lib/enotas_nfe/request.rb
|
154
161
|
- lib/enotas_nfe/version.rb
|
155
162
|
- lib/tasks/enotas_nfe_tasks.rake
|