Method: Gemgate::Storage::S3#get

Defined in:
lib/gemgate/storage/s3.rb

#get(path) ⇒ Object



11
12
13
14
15
# File 'lib/gemgate/storage/s3.rb', line 11

def get(path)
  if file = remote_directory.files.get(prefix(path))
    file.body
  end
end