# File lib/fog/aws/requests/storage/put_request_payment.rb, line 12 def put_request_payment(bucket_name, payer) data = "<RequestPaymentConfiguration xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\">\n<Payer>\#{payer}</Payer>\n</RequestPaymentConfiguration>\n" request({ :body => data, :expects => 200, :headers => {}, :bucket_name => bucket_name, :method => 'PUT', :query => {'requestPayment' => nil} }) end