module AWS::S3::ACLObject
def self.included(m)
def self.included(m) m.extend(ClassMethods) end
def body_xml; ""; end
- Private: -
def body_xml; ""; end
def element_name
- Private: -
def element_name self.class.name[/::([^:]*)$/, 1] end
def initialize(opts = {}); end
- Private: -
def initialize(opts = {}); end
def stag
- Private: -
def stag element_name end
def to_s
which will yield an XML representation of the ACL that you
you'll want to call this on an AccessControlList object,
Returns the XML representation of the object. Generally
def to_s if body_xml.empty? "<#{stag}/>" else "<#{stag}>#{body_xml}</#{element_name}>" end end
def to_xml
def to_xml to_s end
def valid?
check that all required attributes are provided and that
to S3's published ACL schema. In particular, this will
Returns true if and only if this object is valid according
def valid? validate! rescue => e false else true end
def validate!; end
- See: #valid? -
def validate!; end
def validate_input(name, value, context = nil)
- Private: -
def validate_input(name, value, context = nil) send("validate_#{name}_input!", value, context) end