projector_pws 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0fc6887cfeb259770f9acb44c014d7e703b269e
4
- data.tar.gz: a1ae80d23254a16c4a0d118f9750350316bab6c5
3
+ metadata.gz: b4824e8aba39fbc0d0ea303f332e2d6f827f1e27
4
+ data.tar.gz: d6cafd9787296f98eca31a0a479f9a7448da7796
5
5
  SHA512:
6
- metadata.gz: 5bdd68adc6730c1957e39a901070e0b04117aef366be69afa60a1f4d99dface0c90e83909441c4716b4c49548e647dac16cd5c78d6a42219c3588f64250c2bb6
7
- data.tar.gz: adf33305d406f1deea5498554b8c057e687f06e7fd867385c42d0cc7f83eac733a967469fa7c52077aa473fcc6c115d0d7d8af618ac7f5d9e75483b04b31d927
6
+ metadata.gz: 86ddb97ea78fbf71adb34743386c691229dbf6b17fcd863283525629f7f175fd9068ab1291d2b473bda6d51861254bd4da2669e927fd7b585d345630a4ee563d
7
+ data.tar.gz: f835aceb04fef3b12abf6d596c0fa22351d89e29c3c5aa94fa8a590447bc2ff04741859d5c986f7d1489eaacf0fe721a3a0d631446be729d92a4e5abcdcd5499
data/lib/projector_pws.rb CHANGED
@@ -234,16 +234,14 @@ module ProjectorPWS
234
234
  params['tim:SendApprovalEmailFlag'] = send_approval_email
235
235
  params['tim:SendApprovalToPayEmailFlag'] = send_approval_to_pay_email
236
236
  params['tim:SendPaidEmailFlag'] = send_paid_email
237
- params['tim:StatusOrders'] = cost_card_uids.collect do |cc|
238
- { 'tim:PwsCostPwsChangeOrder' => {
237
+ params['tim:StatusOrders'] = {
238
+ 'tim:PwsCostPwsChangeOrder' => {
239
239
  'tim:ApproveToPayFlag' => true,
240
240
  'tim:CostCardIdentities' => {
241
- 'tim:PwsVersionedCostCardRef' => {
242
- 'com:CostCardUid' => cc
243
- }
241
+ 'tim:PwsVersionedCostCardRef' => cost_card_uids.collect { |cc| { 'com:CostCardUid' => cc } }
244
242
  }
245
- } }
246
- end
243
+ }
244
+ }
247
245
 
248
246
  # Set Cost Card Payment Workflow Status
249
247
  c.call(:pws_set_cost_card_payment_workflow_status, message: { 'pws:serviceRequest' => params }).body[:pws_set_cost_card_payment_workflow_status_response][:pws_set_cost_card_payment_workflow_status_result]
@@ -5,5 +5,5 @@
5
5
  module ProjectorPWS
6
6
 
7
7
  # Version
8
- VERSION = '0.1.11'
8
+ VERSION = '0.1.12'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: projector_pws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse