Class | S33r::S3ACL::Group |
In: |
lib/s33r/s3_acl.rb
|
Parent: | Grantee |
One of the predefined S3 groups.
A group must have a type (AllUsers or AuthenticatedUsers).
group_type | [RW] |
The type of group. A key from S3_GROUP_TYPES to one of the pre-defined Amazon group types.
# File lib/s33r/s3_acl.rb, line 327 327: def initialize(group_type) 328: unless S3_GROUP_TYPES.has_key?(group_type) 329: raise InvalidS3GroupType, 'No such group type #{group_type}' 330: end 331: @group_type = S3_GROUP_TYPES[group_type] 332: @grantee_type = GRANTEE_TYPES[:group] 333: end