intacctrb 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/intacctrb/vendor.rb +21 -19
- data/lib/intacctrb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2017665225305238de205e6786f788420b508b80
|
4
|
+
data.tar.gz: 4c7fbe3dbc3598d4191a414c0a889076a3cca28b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53e89d15fb06c62a5c39bdf27c12e29e46339309839243a7bf027b6900033413376368d3de9699afa222a8d7290026b76c74d19d1c9c23356da224d23a5de2bc
|
7
|
+
data.tar.gz: 6252d53d199677b77f98608bde1e596ef8d794e2ae450ec2a4df13e757d059744523e2724441779192200acdf8c21476d2039290fcd200a93763bffca8b6f7ca
|
data/Gemfile.lock
CHANGED
data/lib/intacctrb/vendor.rb
CHANGED
@@ -117,25 +117,27 @@ module IntacctRB
|
|
117
117
|
end
|
118
118
|
|
119
119
|
def contact_xml xml, contact_object
|
120
|
-
|
121
|
-
xml.
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
xml.
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
120
|
+
if contact_object.present?
|
121
|
+
xml.contact {
|
122
|
+
xml.contactname contact_object.contact_name
|
123
|
+
xml.printas contact_object.print_as
|
124
|
+
xml.companyname contact_object.company_name
|
125
|
+
xml.firstname contact_object.first_name
|
126
|
+
xml.lastname contact_object.last_name
|
127
|
+
xml.phone1 contact_object.business_phone
|
128
|
+
xml.cellphone contact_object.cell_phone
|
129
|
+
xml.email1 contact_object.email
|
130
|
+
if contact_object.mailing_address.present?
|
131
|
+
xml.mailaddress {
|
132
|
+
xml.address1 contact_object.mailing_address.address_1
|
133
|
+
xml.address2 contact_object.mailing_address.address_2
|
134
|
+
xml.city contact_object.mailing_address.city
|
135
|
+
xml.state contact_object.mailing_address.state
|
136
|
+
xml.zip contact_object.mailing_address.zip
|
137
|
+
}
|
138
|
+
end
|
139
|
+
}
|
140
|
+
end
|
139
141
|
end
|
140
142
|
end
|
141
143
|
end
|
data/lib/intacctrb/version.rb
CHANGED
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
|
+
version: 0.4.8
|
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-
|
11
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|