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 +4 -4
- data/lib/cadooz/services/business_order_service.rb +1 -2
- data/lib/cadooz/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5071d73d4e0a631a46ec9079446274c86a522f78
|
4
|
+
data.tar.gz: 3695cc2f5e2b980c19e207644de1582467953253
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
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__)
|
data/lib/cadooz/version.rb
CHANGED