lib/intercom/api_operations/save.rb in intercom-2.1.3 vs lib/intercom/api_operations/save.rb in intercom-2.1.4
- old
+ new
@@ -35,10 +35,10 @@
def posted_updates?
respond_to?(:update_verb) && update_verb == 'post'
end
def identity_hash
- respond_to?(:identity_vars) ? to_hash.slice(*(identity_vars.map(&:to_s))) : {}
+ respond_to?(:identity_vars) ? SliceableHash.new(to_hash).slice(*(identity_vars.map(&:to_s))) : {}
end
end
end
end