lib/riak/bucket.rb in riak-client-2.5.0 vs lib/riak/bucket.rb in riak-client-2.6.0
- old
+ new
@@ -112,10 +112,10 @@
# Retrieve multiple keys from this bucket.
# @param [Array<String>] keys array of keys to fetch
# @return [Hash<String, Riak::RObject>] hash of keys to objects
def get_many(keys)
pairs = keys.map{|k| [self, k]}
- results = Multiget.get_all @client, pairs
+ results = Multiget.perform @client, pairs
results.keys.inject(Hash.new) do |mem, var|
mem[var[1]] = results[var]
mem
end
end