ruby-nfe 0.0.3 → 0.0.4

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
- SHA1:
3
- metadata.gz: 06b536d1fbc2592d67401dee5e27d09ba4ca1eeb
4
- data.tar.gz: ca9319e219bbbe8e943686f549904b03444539c6
2
+ SHA256:
3
+ metadata.gz: 02fe719d2d55d3e371e1a33d72f98a6655058fa736cc7f8cab73713ec3ef0ab8
4
+ data.tar.gz: 24996316efd401eb7c63e789c79ac69aea4c5f31c5e0ed3bdf39551b964da69d
5
5
  SHA512:
6
- metadata.gz: b0ba90baaac6cc0685975eb0fd570865a6d9efc70bf28b646abfd23d0a0bfb31b74a82218b18b07c1f1b53457fdbca491af6752011e9c4a0c47e5c5f9c165e10
7
- data.tar.gz: 9b6403a54271583e7efd48aae09ad3bc54fc2bba8cef60f9f320fde9fe79201b03ed417b752f90e1987700b4b127eb9b694a52299fc8a673e5c6996fd4e17299
6
+ metadata.gz: 0caca6c338b411f1a2eb20e0024094aba28274a305980b49ec6b789468f671bda84e2ee84cf2067598a19a44d86139167ddf844e1245a2aa066d1a7da833ee5a
7
+ data.tar.gz: cce36ece1eb1de63a7bbc59e5a63c2addb8caa122adbdf85056738d83c2a7ec16f873e5aff7acc838c750402320bec3d74fecb74d4589a359a9dc9508718a3d1
@@ -3,6 +3,7 @@ module NFe
3
3
  class Destinatario < NFe::EntidadeNFe
4
4
  xml_name :emit
5
5
  attr_accessor :xNome
6
+ attr_accessor :CPF
6
7
  attr_accessor :CNPJ
7
8
  attr_accessor :enderDest
8
9
  attr_accessor :indIEDest
@@ -16,6 +17,7 @@ module NFe
16
17
  def attributes
17
18
  @attributes = {
18
19
  "xNome" => xNome,
20
+ "CPF" => CPF,
19
21
  "CNPJ" => CNPJ,
20
22
  "enderEmit" => @enderEmit,
21
23
  "indIEDest" => indIEDest,
@@ -26,6 +28,7 @@ module NFe
26
28
  def attributes=(params)
27
29
  @attributes = {
28
30
  "xNome" => params["razao_social"],
31
+ "CPF" => params["cpf"],
29
32
  "CNPJ" => params["cnpj"],
30
33
  "enderDest" => params["enderDest"],
31
34
  "indIEDest" => params["indIEDest"],
@@ -33,4 +36,4 @@ module NFe
33
36
  }
34
37
  end
35
38
  end
36
- end
39
+ end
@@ -1,5 +1,12 @@
1
1
  # encoding: UTF-8
2
2
  class Imposto
3
- attr_accessor :icms
4
-
3
+ #/imposto/ICMS/ICMS00
4
+ attr_accessor :cProd
5
+ attr_accessor :cEAN
6
+ attr_accessor :xProd
7
+ attr_accessor :NCM
8
+ attr_accessor :EXTIPI
9
+ attr_accessor :CFOP
10
+ attr_accessor :uCom
11
+ attr_accessor :qCom
5
12
  end
@@ -1,3 +1,3 @@
1
1
  module NFe
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-nfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor C. Batista
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-10 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.6.6
115
+ rubygems_version: 2.7.8
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Consulta arquivo XML da Sefaz.