More documentation tweaks

parent 16b4ec15
...@@ -200,7 +200,7 @@ Initiates a new multipart upload. ...@@ -200,7 +200,7 @@ Initiates a new multipart upload.
```rb ```rb
client.create_multipart_upload(key: "foo", **options) client.create_multipart_upload(key: "foo", **options)
#=> { upload_id: "MultipartUploadId", key: "foo" } # => { upload_id: "MultipartUploadId", key: "foo" }
``` ```
Accepts: Accepts:
...@@ -219,7 +219,7 @@ Retrieves currently uploaded parts of a multipart upload. ...@@ -219,7 +219,7 @@ Retrieves currently uploaded parts of a multipart upload.
```rb ```rb
client.list_parts(upload_id: "MultipartUploadId", key: "foo", **options) client.list_parts(upload_id: "MultipartUploadId", key: "foo", **options)
#=> [ { part_number: 1, size: 5402383, etag: "etag1" }, # => [ { part_number: 1, size: 5402383, etag: "etag1" },
# { part_number: 2, size: 5982742, etag: "etag2" }, # { part_number: 2, size: 5982742, etag: "etag2" },
# ... ] # ... ]
``` ```
...@@ -244,7 +244,7 @@ Returns the endpoint that should be used for uploading a new multipart part. ...@@ -244,7 +244,7 @@ Returns the endpoint that should be used for uploading a new multipart part.
```rb ```rb
client.prepare_upload_part(upload_id: "MultipartUploadId", key: "foo", part_number: 1, **options) client.prepare_upload_part(upload_id: "MultipartUploadId", key: "foo", part_number: 1, **options)
#=> { url: "https://my-bucket.s3.amazonaws.com/foo?partNumber=1&uploadId=MultipartUploadId&..." } # => { url: "https://my-bucket.s3.amazonaws.com/foo?partNumber=1&uploadId=MultipartUploadId&..." }
``` ```
Accepts: Accepts:
...@@ -264,7 +264,7 @@ Finalizes the multipart upload and returns URL to the object. ...@@ -264,7 +264,7 @@ Finalizes the multipart upload and returns URL to the object.
```rb ```rb
client.complete_multipart_upload(upload_id: upload_id, key: key, parts: [{ part_number: 1, etag: "etag1" }], **options) client.complete_multipart_upload(upload_id: upload_id, key: key, parts: [{ part_number: 1, etag: "etag1" }], **options)
#=> { location: "https://my-bucket.s3.amazonaws.com/foo?..." } # => { location: "https://my-bucket.s3.amazonaws.com/foo?..." }
``` ```
Accepts: Accepts:
...@@ -284,7 +284,7 @@ Aborts the multipart upload, removing all parts uploaded so far. ...@@ -284,7 +284,7 @@ Aborts the multipart upload, removing all parts uploaded so far.
```rb ```rb
client.abort_multipart_upload(upload_id: upload_id, key: key, **options) client.abort_multipart_upload(upload_id: upload_id, key: key, **options)
#=> {} # => {}
``` ```
Accepts: Accepts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment