fastbill-automatic 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
2
  SHA1:
3
- metadata.gz: 7b1fd723a730eb7892d3ded62364d414f43ba603
4
- data.tar.gz: 5baecfd6d6cd8d66edc9b2e46b2ddac57200579f
3
+ metadata.gz: 69f271d92bac456f3777a2a29698edf6bca538ec
4
+ data.tar.gz: a7210e87f467ad1037fcaf56318e5d3ab507280f
5
5
  SHA512:
6
- metadata.gz: cf0bac650fc90c0c61c480616dee3bd943503b45d3de6d9bed84d0a160864f7f73e12e1f019cc49ad4c027a372133e4b69b254831e9f1f680eec9d28e917ffa8
7
- data.tar.gz: e4d0036c4d2d464dd686625cb357308a1f101a1eab3ab9c93df47fb16f2d0a21ff0880607124519f0ce4b06f292db00f59f2f0fc19574dfdbb9672c1dcf96282
6
+ metadata.gz: 4bab75ca1bb530321baa371c7ef030f98c84089d7142e726cdd0ef2b721f20fefa69a132379752794b1e041cec6d5f2408eb5d1fec4097c966a5f95ac7a305b8
7
+ data.tar.gz: 364ad5503a1b27bfd6101f40930b64a091de5a917b2710c11841d385121ef25c886ed7f9edc6b89543a9a6c5ba9d9fec7aee2a3b9370b48b1b956d1cfdcce8bd
@@ -9,8 +9,9 @@ module Fastbill
9
9
  attributes = {}
10
10
  attributes[id_attribute] = id
11
11
  response = Fastbill::Automatic.request("#{self.name.split("::").last.downcase}.complete", attributes)
12
- true
12
+ response['RESPONSE']['INVOICE_NUMBER']
13
13
  end
14
+
14
15
  end
15
16
 
16
17
  def self.included(base)
@@ -1,5 +1,5 @@
1
1
  module Fastbill
2
2
  module Automatic
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastbill-automatic
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
  - Sascha Korth