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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53a32b30fe9d3b38c269538d81bb9f98334b9fa2a1b0603ae0273c8529ad0eda
4
- data.tar.gz: 17ebe71c32ce94b56b40934f3f936e2a4d3b15b3805cc2d9dd4541c7a67e6860
3
+ metadata.gz: b6eb89915336036670bcb1c50a15293d85b677e93405498e06339634e51f221a
4
+ data.tar.gz: d8bee4e9f78a503058b71d051dbc86cc6c623379551af325c7f3addf83d86613
5
5
  SHA512:
6
- metadata.gz: b96ec5067e29507a22d56cfb7ccc6c1243d9571d340f4786dd12213d4c70688266e5aff870f2b9cc3fd771f5377ece9bbd938b68d0aa2861b7eda48a00ac29d5
7
- data.tar.gz: 94bccb5d0f8ab2d78216340c48a26d64c3f734a5b5ed80083ffd5ad5e3b26e5c484dcc040154ed5fb9ad932794bb5a194158c7e8898cbedd1d2101862fcd9029
6
+ metadata.gz: 766e21011c325c7a95d9602bc61d380bc6726dcf2777de16d863cacd5f5575676d28afb874d08b937d78ab382cc1654dd60b961cde9b513ebf6e681359ae57e3
7
+ data.tar.gz: 54baf9f2e00ee8eb8a184fbc07e4392a9282a7c695f1d4d46a3d25e45585b57d97ea1a525aac8a8c2c409bed3fdcc2c18d277663f6c1f3099e0b87bda4c0a190
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- intacctrb (0.8.17)
4
+ intacctrb (0.8.18)
5
5
  hooks
6
6
  nokogiri
7
7
 
@@ -110,4 +110,4 @@ DEPENDENCIES
110
110
  turnip
111
111
 
112
112
  BUNDLED WITH
113
- 1.16.1
113
+ 1.16.6
@@ -18,27 +18,11 @@ module IntacctRB
18
18
  raise IntacctRB::Exceptions::APPayment.new(response.at('//error//description2'))
19
19
  end
20
20
 
21
- object.intacct_id
21
+ return_result(response)
22
22
  end
23
23
 
24
24
  def update
25
- raise 'You must pass an id to update an ap payment' unless object.intacct_id.present?
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
@@ -1,3 +1,3 @@
1
1
  module IntacctRB
2
- VERSION = "0.8.17"
2
+ VERSION = "0.8.18"
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.8.17
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: 2018-08-30 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri