Class: FakeS3::XmlParser
- Inherits:
-
Object
- Object
- FakeS3::XmlParser
- Defined in:
- lib/fakes3/xml_parser.rb
Class Method Summary collapse
Class Method Details
.delete_objects(request) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fakes3/xml_parser.rb', line 5 def self.delete_objects(request) keys = [] objects = XmlSimple.xml_in(request.body, {'NoAttr' => true})['Object'] objects.each do |key| keys << key['Key'][0] end keys end |