Class: AWS::S3::Owner
- Includes:
- SelectiveAttributeProxy
- Defined in:
- lib/aws/s3/owner.rb
Overview
Entities in S3 have an associated owner (the person who created them). The owner is a canonical representation of an entity in the S3 system. It has an id
and a display_name
.
These attributes can be used when specifying a ACL::Grantee for an ACL::Grant.
You can retrieve the owner of the current account by calling Owner.current.
Class Method Summary collapse
-
.current ⇒ Object
The owner of the current account.
Instance Method Summary collapse
-
#==(other_owner) ⇒ Object
:nodoc:.
-
#hash ⇒ Object
:nodoc.
-
#initialize(attributes = {}) ⇒ Owner
constructor
:nodoc:.
Methods included from SelectiveAttributeProxy
Constructor Details
#initialize(attributes = {}) ⇒ Owner
:nodoc:
22 23 24 |
# File 'lib/aws/s3/owner.rb', line 22 def initialize(attributes = {}) #:nodoc: @attributes = attributes end |