class AWS::S3::AccessControlList::Permission
@see Grant#permission
class directly.
Typically you will not need to construct an instance of this
Represents the permission being granted in a Grant object.
def body_xml
def body_xml name.to_s.upcase end
def initialize(name)
- Private: -
def initialize(name) raise "expected string or symbol" unless name.respond_to?(:to_str) or name.respond_to?(:to_sym) @name = name.to_sym end