class AWS::S3::Client::V20060301
def self.object_method(method_name, verb, *args, &block)
def self.object_method(method_name, verb, *args, &block) bucket_method(method_name, verb, *args) do configure_request do |req, options| validate_key!(options[:key]) super(req, options) req.key = options[:key] end instance_eval(&block) if block end end