action_kit_api 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,8 +26,12 @@ module ActionKitApi
26
26
 
27
27
  begin
28
28
  response = ActionKitApi::Connection.call("#{class_name}.get", search)
29
- rescue RuntimeError => error
30
- response = nil
29
+ rescue XMLRPC::FaultException => exception
30
+ if exception.faultCode == "DoesNotExist"
31
+ return nil
32
+ else
33
+ raise exception
34
+ end
31
35
  end
32
36
 
33
37
  # Build a new object with the response, this might be an empty
@@ -1,3 +1,3 @@
1
1
  module ActionKitApi
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sam Stelfox