action_kit_api 0.1.9 → 0.1.10
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.
|
@@ -79,7 +79,14 @@ module ActionKitApi
|
|
|
79
79
|
# causes a second command on the same connection to fail with an
|
|
80
80
|
# EOFError. Using the _async version of this causes XMLRPC::Client
|
|
81
81
|
# to use a new connection each time eliminating this issue
|
|
82
|
-
|
|
82
|
+
begin
|
|
83
|
+
@@connection.call_async(command, args)
|
|
84
|
+
rescue RuntimeError => exception
|
|
85
|
+
puts command
|
|
86
|
+
puts args
|
|
87
|
+
puts exception.inspect
|
|
88
|
+
raise exception
|
|
89
|
+
end
|
|
83
90
|
end
|
|
84
91
|
|
|
85
92
|
def self.version
|
|
@@ -66,9 +66,9 @@ module ActionKitApi
|
|
|
66
66
|
response_objects
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
-
def class_name.count(search)
|
|
70
|
-
|
|
71
|
-
end
|
|
69
|
+
#def class_name.count(search)
|
|
70
|
+
# ActionKitApi::Connection.call("#{class_name}.count", search)
|
|
71
|
+
#end
|
|
72
72
|
|
|
73
73
|
# Helper method for method_missing and the find_* virtual methods that
|
|
74
74
|
# parses part of a method name and arguments into a hash usuable for the
|