action_kit_api 0.3.3 → 0.3.4
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 +4 -1
- data/lib/action_kit_api/version.rb +1 -1
- metadata +2 -2
@@ -26,7 +26,10 @@ module ActionKitApi
|
|
26
26
|
@read_only_attrs.include?(k)
|
27
27
|
end
|
28
28
|
|
29
|
-
|
29
|
+
call = "#{class_name}.save_or_create"
|
30
|
+
puts call
|
31
|
+
|
32
|
+
response = ActionKitApi.connection.call(call, attrs_hash)
|
30
33
|
|
31
34
|
# Update ourselves to include the data that the server populated
|
32
35
|
self.update(response)
|