lib/fog/aws/requests/storage/get_request_payment.rb in fog-1.10.1 vs lib/fog/aws/requests/storage/get_request_payment.rb in fog-1.11.0
- old
+ new
@@ -17,10 +17,10 @@
def get_request_payment(bucket_name)
request({
:expects => 200,
:headers => {},
- :host => "#{bucket_name}.#{@host}",
+ :bucket_name => bucket_name,
:idempotent => true,
:method => 'GET',
:parser => Fog::Parsers::Storage::AWS::GetRequestPayment.new,
:query => {'requestPayment' => nil}
})