intacctrb 0.8.17 → 0.8.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/intacctrb/ap_payment.rb +2 -18
- data/lib/intacctrb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6eb89915336036670bcb1c50a15293d85b677e93405498e06339634e51f221a
|
4
|
+
data.tar.gz: d8bee4e9f78a503058b71d051dbc86cc6c623379551af325c7f3addf83d86613
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 766e21011c325c7a95d9602bc61d380bc6726dcf2777de16d863cacd5f5575676d28afb874d08b937d78ab382cc1654dd60b961cde9b513ebf6e681359ae57e3
|
7
|
+
data.tar.gz: 54baf9f2e00ee8eb8a184fbc07e4392a9282a7c695f1d4d46a3d25e45585b57d97ea1a525aac8a8c2c409bed3fdcc2c18d277663f6c1f3099e0b87bda4c0a190
|
data/Gemfile.lock
CHANGED
data/lib/intacctrb/ap_payment.rb
CHANGED
@@ -18,27 +18,11 @@ module IntacctRB
|
|
18
18
|
raise IntacctRB::Exceptions::APPayment.new(response.at('//error//description2'))
|
19
19
|
end
|
20
20
|
|
21
|
-
|
21
|
+
return_result(response)
|
22
22
|
end
|
23
23
|
|
24
24
|
def update
|
25
|
-
raise 'You
|
26
|
-
|
27
|
-
send_xml('update') do |xml|
|
28
|
-
xml.function(controlid: "f1") {
|
29
|
-
xml.update {
|
30
|
-
xml.appayment(key: object.intacct_id) {
|
31
|
-
ap_payment_xml xml
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
end
|
36
|
-
|
37
|
-
if !successful?
|
38
|
-
raise(response.at('//error//description2'))
|
39
|
-
end
|
40
|
-
|
41
|
-
object.intacct_id
|
25
|
+
raise 'You intacct doesn\'t support #update on this object'
|
42
26
|
end
|
43
27
|
|
44
28
|
def reverse
|
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.8.
|
4
|
+
version: 0.8.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Hale
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|