ruby/box_api.rb
def upload_file_to_aws(file_to_upload, content_type)
	puts "Uploading file: " + file_to_upload + " to aws"
	response = request_put(file_to_upload, content_type)
	puts response
end
# Upload a file to an amazon aws url.
#
# Param: 
#   file_to_upload - local file to upload to amazon
#   content_type - MIME type of the file (should be the same as the mime_type used to get_upload_urls)
Upload a file to an amazon aws url.
Param:
file_to_upload - local file to upload to amazon
content_type - MIME type of the file (should be the same as the mime_type used to get_upload_urls)
Upload a file to an amazon aws url . Param : file_to_upload - local file to upload to amazon content_type - MIME type of the file ( should be the same as the mime_type used to get_upload_urls )
def upload_file_to_aws(file_to_upload, content_type)
	puts "Uploading file: " + file_to_upload + " to aws"
	response = request_put(file_to_upload, content_type)
	puts response
end
def upload_file_to_aws ( file_to_upload , content_type ) puts "Uploading file: " + file_to_upload + " to aws" response = request_put ( file_to_upload , content_type ) puts response end
Upload a file to an amazon aws url.
Upload a file to an amazon aws url .
file_to_upload
content_type