cadooz 1.0.3 → 1.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: 2929ff8ee2dec7a7840f103a694985fb05eb1cb6
4
- data.tar.gz: 6772151e98da7f319920b31b996ac2a710fdead5
3
+ metadata.gz: 5071d73d4e0a631a46ec9079446274c86a522f78
4
+ data.tar.gz: 3695cc2f5e2b980c19e207644de1582467953253
5
5
  SHA512:
6
- metadata.gz: 94e48f75c6b3d7cbe24c6bd1d680d5626b725bc776e91d6a434f37baed5ccb6fd4af52ccb02bc96be8a0f707b7c808da8682bf899ffd6a8b4aa832b6653a8e47
7
- data.tar.gz: b7182308f30ca8c627ecff4edc292d27be78b7cd68be0ab0da5a3d8b75afe87e8546ea2fc834f63e3cae16aac33e6b1f3aa37d31e62321a921977a76206915a0
6
+ metadata.gz: 2a40667c4407db13ab47fcb71d0cd1abdc4ffccda8ef0866af21372ca25e59862fb08e1b7e992ebefefe5e28a06d66c26d861ceb2db0e2c04733a75d1951c6ef
7
+ data.tar.gz: f313e0d7bccee013c890d45182e6e220f66d83f240de6f9b0b3e5a911b3ff937073a63a033eabd6d6d069405e15ba85c49d7793dd4a7dea68e1a449ec7881ab8
@@ -1,6 +1,5 @@
1
1
  class Cadooz::BusinessOrderService
2
2
  DEFAULT_TIMEOUT = 10
3
- DEFAULT_GENERATION_PROFILE = 'XML Schnittstelle (Test)'
4
3
 
5
4
  def initialize(open_timeout = DEFAULT_TIMEOUT, read_timeout = DEFAULT_TIMEOUT)
6
5
  @client = Savon.client(
@@ -108,7 +107,7 @@ class Cadooz::BusinessOrderService
108
107
  # orderNumber - The number of the order.
109
108
  # Returns:
110
109
  # A VoucherInformation object. Never null.
111
- def get_vouchers_for_order(generation_profile_name = DEFAULT_GENERATION_PROFILE, order_number)
110
+ def get_vouchers_for_order(generation_profile_name = Cadooz.configuration.generation_profile, order_number)
112
111
  response_class = Cadooz::Immutable::Voucher
113
112
 
114
113
  deserialize(@call.(__callee__, {generation_profile_name: generation_profile_name, order_number: order_number }), response_class, __callee__)
@@ -1,3 +1,3 @@
1
1
  module Cadooz
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cadooz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Brown