action_kit_api 0.1.8 → 0.1.9
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.
- data/lib/action_kit_api/data_model.rb +1 -2
- data/lib/action_kit_api/version.rb +1 -1
- metadata +2 -2
@@ -18,8 +18,7 @@ module ActionKitApi
|
|
18
18
|
|
19
19
|
# TODO: Add blacklisting to the model to prevent read-only attributes from syncing
|
20
20
|
# this is a temporary fix.
|
21
|
-
hash = self.to_hash
|
22
|
-
hash.delete("subscription_status")
|
21
|
+
hash = self.to_hash.delete("subscription_status")
|
23
22
|
response = ActionKitApi::Connection.call("#{class_name}.save_or_create", hash)
|
24
23
|
|
25
24
|
# Update ourselves to include the data that the server populated
|