Class Net::Amazon::S3::Object
In: lib/net/amazon/s3/object.rb
Parent: Object

Represents an Amazon S3 object. This class should only be instantiated through one of the methods in Bucket.

Methods

<=>   escape_key   new   value   value=  

Included Modules

Comparable

Attributes

etag  [R] 
last_modified  [R] 
name  [R] 
size  [R] 

Public Class methods

Escapes an object key for use in an S3 request path. This method should not be used to escape object keys for use in URL query parameters. Use URI.escape for that.

Public Instance methods

Compares two objects by key.

Gets this object‘s value.

When called with a block, yields the value in chunks as it is read in from the socket.

Sets this object‘s value.

If new_value is an open IO stream, the value will be read from the stream.

[Validate]