Method: S3::ObjectsExtension#find_first

Defined in:
lib/s3/objects_extension.rb

#find_first(name) ⇒ Object Also known as: find

Finds first object with given name or raises the exception if not found



10
11
12
13
# File 'lib/s3/objects_extension.rb', line 10

def find_first(name)
  object = build(name)
  object.retrieve
end