Class: AWS::S3::AccessControlList::GrantBuilder
- Inherits:
-
Object
- Object
- AWS::S3::AccessControlList::GrantBuilder
- Defined in:
- lib/aws/s3/access_control_list.rb
Instance Method Summary collapse
-
#to(grantee) ⇒ Object
Specifies the grantee.
Instance Method Details
#to(grantee) ⇒ Object
Specifies the grantee.
230 231 232 233 |
# File 'lib/aws/s3/access_control_list.rb', line 230 def to(grantee) @grant.grantee = grantee @acl.grants << @grant end |