snoopy_afip 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/snoopy_afip.rb +0 -5
- data/lib/snoopy_afip/bill.rb +3 -7
- data/lib/snoopy_afip/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 46470b6143f16caf2965b39a51acd2a098a38b2e
|
4
|
+
data.tar.gz: 96a89dd51c7c3000322ab1aeda7a244099d86589
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70787ef53b826ed11930182aa9c77ae16e0db382765f31fd82f6de804def4996ea53c772572d7709153274327f7abf9c15a3cd6894554253580ede86f208b60d
|
7
|
+
data.tar.gz: 254918778efc12e82bae5ea229f06e80a5443bcc216bb1ebbb3eb2e8a23a7788de5cd6fb82e71520621c42aee955d770522cc2a6876f40bb95adbe77d2f8213b
|
data/lib/snoopy_afip.rb
CHANGED
data/lib/snoopy_afip/bill.rb
CHANGED
@@ -1,22 +1,18 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
module Snoopy
|
3
3
|
class Bill
|
4
|
-
attr_accessor :total_net, :document_num, :document_type, :concept, :currency, :result,
|
5
|
-
:cbte_asoc_num, :cae, :service_date_to, :due_date,
|
6
|
-
:number, :alicivas, :cuit, :sale_point, :service_date_from,
|
7
|
-
:due_date_cae, :voucher_date, :process_date, :imp_iva, :cbte_asoc_sale_point,
|
8
|
-
:receiver_iva_cond, :issuer_iva_cond, :errors
|
9
|
-
|
10
4
|
ATTRIBUTES = [ :total_net, :document_num, :document_type, :concept, :currency, :result,
|
11
5
|
:cbte_asoc_num, :cae, :service_date_to, :due_date,
|
12
6
|
:number, :alicivas, :cuit, :sale_point, :service_date_from,
|
13
|
-
:due_date_cae, :voucher_date, :process_date, :imp_iva, :
|
7
|
+
:due_date_cae, :voucher_date, :process_date, :imp_iva, :cbte_asoc_to_sale_point,
|
14
8
|
:receiver_iva_cond, :issuer_iva_cond, :errors ]
|
15
9
|
|
16
10
|
TAX_ATTRIBUTES = [ :id, :amount, :taxeable_base ]
|
17
11
|
|
18
12
|
ATTRIBUTES_PRECENSE = [:total_net, :concept, :receiver_iva_cond, :alicivas, :document_type, :service_date_from, :service_date_to, :sale_point, :issuer_iva_cond]
|
19
13
|
|
14
|
+
attr_accessor *ATTRIBUTES
|
15
|
+
|
20
16
|
def initialize(attrs={})
|
21
17
|
# attrs = attrs.deep_symbolize_keys
|
22
18
|
@cuit = attrs[:cuit]
|
data/lib/snoopy_afip/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snoopy_afip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- g.edera
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.6.11
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Adaptador AFIP wsfe.
|