Method: AWS::S3::ACL::Grantee#type_representation

Defined in:
lib/aws-matt/s3/acl.rb

#type_representationObject

:nodoc:



439
440
441
442
443
444
445
# File 'lib/aws-matt/s3/acl.rb', line 439

def type_representation #:nodoc:
  case type
  when 'CanonicalUser'          then display_name || id
  when 'AmazonCustomerByEmail'  then email_address
  when 'Group'                  then "#{group} Group"
  end
end