action_kit_api 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/action_kit_api/data_model.rb +9 -1
- data/lib/action_kit_api/version.rb +1 -1
- metadata +2 -2
@@ -27,7 +27,15 @@ module ActionKitApi
|
|
27
27
|
end
|
28
28
|
|
29
29
|
call = "#{class_name}.save_or_create"
|
30
|
-
|
30
|
+
|
31
|
+
# Debugging stuff
|
32
|
+
if self.respond_to?('ap')
|
33
|
+
ap call
|
34
|
+
ap attrs_hash
|
35
|
+
else
|
36
|
+
puts call
|
37
|
+
puts attrs_hash
|
38
|
+
end
|
31
39
|
|
32
40
|
response = ActionKitApi.connection.call(call, attrs_hash)
|
33
41
|
|