1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

use params instead of prep

In the transfer from rackspace-monitoring-rb to fog prep got changed to params, but was left as prep in compare.
This commit is contained in:
Thomas Cate 2013-08-07 15:39:33 -05:00
parent 920e0c5a9e
commit afd9bd90d3

View file

@ -19,8 +19,8 @@ module Fog
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