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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: e25964d283e53a6ecce44bb9e47da089d46845490b1ccfa86040c491d0c68ae2
4
- data.tar.gz: f307327754e7409b336b20ce719e833296938c8f82d0e60ef0b03aa160e02b64
2
+ SHA1:
3
+ metadata.gz: 46470b6143f16caf2965b39a51acd2a098a38b2e
4
+ data.tar.gz: 96a89dd51c7c3000322ab1aeda7a244099d86589
5
5
  SHA512:
6
- metadata.gz: 999693f1b1c3f5f9aa943c8718f6e3ffa9faece1afe4f2ee15ada2e836a2bd80864dcd70c14c394909c80a8b185ac72cb04aa8b8ced52a6b59e928f91d85d690
7
- data.tar.gz: 9366d0c79c6d6a76a95f3ed2251f8e46716ce6213d0f9adffd0dd431f667a161df0626ff4f8ad1eccadf95fc1ac5d1747153eb65af5d739a11d37f83a271f94c
6
+ metadata.gz: 70787ef53b826ed11930182aa9c77ae16e0db382765f31fd82f6de804def4996ea53c772572d7709153274327f7abf9c15a3cd6894554253580ede86f208b60d
7
+ data.tar.gz: 254918778efc12e82bae5ea229f06e80a5443bcc216bb1ebbb3eb2e8a23a7788de5cd6fb82e71520621c42aee955d770522cc2a6876f40bb95adbe77d2f8213b
@@ -54,10 +54,5 @@ module Snoopy
54
54
 
55
55
  # Savon::Request.log = false unless (Snoopy.verbose == "true") || (ENV["VERBOSE"] == true)
56
56
 
57
- # Savon.configure do |config|
58
- # config.log = Snoopy.log?
59
- # config.log_level = :debug
60
- # end
61
-
62
57
  end
63
58
 
@@ -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, :cbte_asoc_sale_point,
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]
@@ -1,3 +1,3 @@
1
1
  module Snoopy
2
- VERSION = "3.0.4"
2
+ VERSION = "3.0.5"
3
3
  end
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
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.7.6
137
+ rubygems_version: 2.6.11
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Adaptador AFIP wsfe.