qoobaa / s3

Library for accessing S3 objects and buckets, supports EU and US buckets
MIT License
258 stars 112 forks source link

undefined method destroy_all for bucket #10

Closed PhilT closed 14 years ago

PhilT commented 14 years ago

destroy_all is mentioned in the docs but doesn't appear to be there. Is this not in the 0.2.8 gem?

qoobaa commented 14 years ago

There was no "destroy_all" method for bucket. The method is defined on "association" proxy:

service.buckets.destroy_all bucket.objects.destroy_all

I'm using my own proxies now, methods have been moved to BucketsExtension and ObjectsExtension modules - I hope it's more clear now.