lib/ecoportal/api/common/hash_diff.rb in ecoportal-api-0.1.7 vs lib/ecoportal/api/common/hash_diff.rb in ecoportal-api-0.1.8

- old
+ new

@@ -1,9 +1,10 @@ module Ecoportal module API module Common module HashDiff - ID_KEYS=%w[id] + ID_KEYS = %w[id] + def self.diff(a, b) return a if a.class != b.class case a when Hash {}.tap do |diffed|