lib/fog/rackspace/models/monitoring/base.rb in fog-maestrodev-1.14.0.20130806165225 vs lib/fog/rackspace/models/monitoring/base.rb in fog-maestrodev-1.15.0.20130829165835
- old
+ new
@@ -17,20 +17,14 @@
values = attrs.values.map{|sym| sym.to_s}.sort.join ''
Digest::MD5.hexdigest(keys + values)
end
def compare?(b)
- a_o = prep
- b_o = b.prep
+ a_o = params
+ b_o = b.params
remain = a_o.reject {|key, value| b_o[key] === value}
remain.empty?
end
-
- def entity_id
- raise(ArgumentError, "entity with id is required for this operation") unless entity && entity.identity
- entity.identity
- end
-
end
end
end
end