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

[aws|storage|test] Fixed handling of options in mocked get_bucket_object_versions.

This commit is contained in:
Kevin Menard 2012-02-08 13:24:25 -05:00
parent 694d7ea9f7
commit a7a1012102

View file

@ -73,7 +73,7 @@ module Fog
class Mock class Mock
def get_bucket_object_versions(bucket_name, options = {}) def get_bucket_object_versions(bucket_name, options = {})
delimiter, key_marker, max_keys, prefix, version_id_marker = \ delimiter, key_marker, max_keys, prefix, version_id_marker = \
options['delimiter'], options['key_marker'], options['max_keys'],options['prefix'],options['version_id_marker'] options['delimiter'], options['key-marker'], options['max-keys'],options['prefix'],options['version-id-marker']
unless bucket_name unless bucket_name
raise ArgumentError.new('bucket_name is required') raise ArgumentError.new('bucket_name is required')