intacctrb 0.4.4 → 0.4.5

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: 62c00ec8565e126d594edabcfc5dbe818da4d63a
4
- data.tar.gz: fd39b538ad5dc035281df3a6ad41384cc900fd5b
3
+ metadata.gz: 1af429012e7af4c02d01f2cf6308af7decbad3b2
4
+ data.tar.gz: 4c93da2b56394610237a20054c6773e7f19c3a14
5
5
  SHA512:
6
- metadata.gz: 9e8fdf46a41788a242d14b6070a0f51d1bcd84dec7d62b1a4234c8303fd0e5f55238060d7ba217cbd8c653047c19027c524116dc36a40880b9725aa0b1e29570
7
- data.tar.gz: 245dab18d268fed543da511ef9b3e58d099e3c04dd5e478e6b94f3750910d1c0d1f555f978728bf633a18125b4db2c914f3da9fbc30f265cd55061d9993ff9de
6
+ metadata.gz: 3f19943b0547b0befc5bdddd0ef466b26e6f90710123bb1ca63353dcba68d881c4d69dcf051fdb77428c6314421043be7e2bc139a47ccfedbe1cf6b2d101d52e
7
+ data.tar.gz: 0b403f0618b06279db1d1e231075b52fb424c5a04de114c40c0f3e86e6e544ea99889641325b3b7128e6fc5c8aba32a43982815fe254b2bba7a0d03393931f60
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- intacctrb (0.4.4)
4
+ intacctrb (0.4.5)
5
5
  hooks
6
6
  nokogiri
7
7
 
@@ -93,26 +93,28 @@ module IntacctRB
93
93
  xml.billingtype "balanceforward"
94
94
  xml.status "active"
95
95
  xml.vendoraccountno object.vendor_account_number
96
- xml.paymethodkey object.payment_method
96
+ xml.paymethod object.payment_method
97
97
  xml.onetime object.one_time || false
98
- xml.displaycontact {
99
- xml.contactname object.company_name
100
- xml.printas object.company_name
101
- xml.companyname object.company_name
102
- xml.firstname object.first_name
103
- xml.lastname object.last_name
104
- xml.phone1 object.business_phone
105
- xml.cellphone object.cell_phone
106
- xml.email1 object.email
107
- if object.billing_address.present?
108
- xml.mailaddress {
109
- xml.address1 object.billing_address.address1
110
- xml.address2 object.billing_address.address2
111
- xml.city object.billing_address.city
112
- xml.state object.billing_address.state
113
- xml.zip object.billing_address.zipcode
114
- }
115
- end
98
+ xml.primary {
99
+ xml.contact {
100
+ xml.contactname object.company_name
101
+ xml.printas object.company_name
102
+ xml.companyname object.company_name
103
+ xml.firstname object.first_name
104
+ xml.lastname object.last_name
105
+ xml.phone1 object.business_phone
106
+ xml.cellphone object.cell_phone
107
+ xml.email1 object.email
108
+ if object.mailing_address.present?
109
+ xml.mailaddress {
110
+ xml.address1 object.mailing_address.address_1
111
+ xml.address2 object.mailing_address.address_2
112
+ xml.city object.mailing_address.city
113
+ xml.state object.mailing_address.state
114
+ xml.zip object.mailing_address.zip
115
+ }
116
+ end
117
+ }
116
118
  }
117
119
  if object.ach_routing_number.present?
118
120
  xml.achenabled "#{object.ach_routing_number.present? ? "true" : "false"}"
@@ -1,3 +1,3 @@
1
1
  module IntacctRB
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intacctrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Hale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-13 00:00:00.000000000 Z
11
+ date: 2017-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri