Method: Gemgate::Storage::S3#create

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

#create(path, body) ⇒ Object



17
18
19
# File 'lib/gemgate/storage/s3.rb', line 17

def create(path, body)
  remote_directory.files.create(:key => prefix(path), :body => body, :acl => "public-read")
end