action_kit_api 0.1.8 → 0.1.9
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 +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
|