Afip 0.7.5 → 0.7.6

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
2
  SHA256:
3
- metadata.gz: a16f5e1fe31aec4c6a6b7aa9c81c5c115b809684c48a2d769a766d3a3d887f90
4
- data.tar.gz: edf8ffa1667723f46ea81d43311ebea302f1240ff25e8469337d32a637716063
3
+ metadata.gz: 6dd5e50492a0c7d4670f550d24551c8dbc9420df9b5f5d4592fcc2c28f13b33e
4
+ data.tar.gz: 49e084ae0ce9314ee85c29491ca3367ecf5d328606b82a7a508fca2947356c43
5
5
  SHA512:
6
- metadata.gz: 39e518232fff36a448f01a1337ed12049b70bff7b60ec59c5ea6ca7d61f94b60a3aa28e7083d271e01108e63d3da04ded6b6bca7317c27dc36472e5cbcfd47c9
7
- data.tar.gz: efaef41d078352f4bbfd56f6b04f6f92018d116f2641cddd9e658827a0144a8da5602a6b37e52ff5eb3cf80c84919793d8068be96146bf81a0eee102d0389717
6
+ metadata.gz: 3629555ca521e22074489fe4b30312c38d8f068957c52b83e787de317751f1cc07416d511c9af322da484258b87ca94e22989f57528683a47c70bd72bbb2f028
7
+ data.tar.gz: 9669cddb36a59684fdf7f44a0a4c4cd3fc7ee302b335270d90dd3bb4aa2d1c775b333ed25d961cc420e27ff918fccfab6bb624a89296feb986537c345b943b78
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Afip (0.7.4)
4
+ Afip (0.7.5)
5
5
  httpi
6
6
  savon
7
7
 
data/lib/Afip/bill.rb CHANGED
@@ -6,7 +6,7 @@ module Afip
6
6
  :ivas, :sale_point
7
7
 
8
8
  def initialize(attrs={})
9
- set_client
9
+ Bill.set_client
10
10
  @sale_point = attrs[:sale_point]
11
11
  @body = { "Auth" => Afip.auth_hash }
12
12
  @net = attrs[:net] || 0
@@ -35,7 +35,7 @@ module Afip
35
35
  end
36
36
  end
37
37
 
38
- def set_client
38
+ def self.set_client
39
39
  Afip::AuthData.fetch
40
40
  @client = Savon.client(
41
41
  wsdl: Afip.service_url,
data/lib/Afip/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Afip
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Afip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez