gotransverse-tract-api 0.17.1 → 0.17.2

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: de45af11abe9f1211023d1c6c1e0436864f77f7e
4
- data.tar.gz: 644e23b9ced362c131ddd1cb84122994a454f718
3
+ metadata.gz: 9d38005486a939b5dfb0f6a2855fe4eb5758274b
4
+ data.tar.gz: 99b3ae45aedb096239af814e276a8c0fb0c9c989
5
5
  SHA512:
6
- metadata.gz: 2732468be1aa07f319e1041b4da66e01819ae38018a610d0f5eb043546e19edb79f0cdbd8d8067d87add36a05e1a22d9618565408b5b79f72b3aa9b911223adf
7
- data.tar.gz: 764ab0a09fdbaada5754513d4f1590dd3e4fca18adeaa66cd03ae659c06883eeeee9ac2f3a1de778b04162dbebe7527988fa525d5006885996423569df69464a
6
+ metadata.gz: 119d470f4b5bffdffca9a0c7e1a18c8762b40530ab9e20b03fda93bc64e8cfe8625cd8938cbcecf46cfa715ed0653ba44546d1b9000dccd1a1e54d4217f5a64c
7
+ data.tar.gz: b7d8a6f87a6115e1f1cbed70f88658d1b70b680aba049bc8628fa20b5169cf91c04ab7be8b600822119de8d926ae749eaa9854c925a96057a204ed13d019bb3b
@@ -475,7 +475,12 @@ module GoTransverseTractApi
475
475
  }
476
476
  end
477
477
 
478
- data[:billingAccount][:paymentTerm] = billing_account[:payment_term] if billing_account[:payment_term].present?
478
+ if billing_account[:payment_term].present?
479
+ data[:billingAccount][:paymentTerm] = {
480
+ name: billing_account[:payment_term][:name],
481
+ eid: billing_account[:payment_term][:eid]
482
+ }
483
+ end
479
484
 
480
485
  xml_data = GoTransverseTractApi.generateXML(data, 'billingAccount')
481
486
  GoTransverseTractApi.put_request_for(self, {eid: eid}, xml_data)
@@ -1,6 +1,6 @@
1
1
  module GoTransverseTractApi
2
2
 
3
- VERSION = "0.17.1"
3
+ VERSION = "0.17.2"
4
4
  TARGET_API_VERSION = "1.29"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotransverse-tract-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien DeFrance