lib/vra/client.rb in vmware-vra-3.1.0 vs lib/vra/client.rb in vmware-vra-3.1.1

- old
+ new

@@ -86,10 +86,10 @@ def request_headers headers = {} headers['Accept'] = 'application/json' headers['Content-Type'] = 'application/json' - headers['csp-auth-token'] = @access_token.value unless @access_token.value.nil? + headers['Authorization'] = 'Bearer ' + @access_token.value unless @access_token.value.nil? headers end def authorize!