    # File lib/fog/aws/models/storage/versions.rb, line 15
            def all(options = {})
              data = if file
                service.get_bucket_object_versions(file.directory.key, options.merge('prefix' => file.key)).body['Versions']
              else
                service.get_bucket_object_versions(directory.key, options).body['Versions']
              end

              load(data)
            end