Method: S3::Bucket#objects

Defined in:
lib/s3/bucket.rb

#objects(params = {}) ⇒ Object

Returns the objects in the bucket and caches the result

Parameters

  • params - additional params for list_bucket request.



114
115
116
# File 'lib/s3/bucket.rb', line 114

def objects(params = {})
  Proxy.new(lambda { list_bucket(params) }, :owner => self, :extend => ObjectsExtension)
end