lib/azure/armrest/resource_provider_service.rb in azure-armrest-0.4.2 vs lib/azure/armrest/resource_provider_service.rb in azure-armrest-0.5.0

- old
+ new

@@ -59,10 +59,10 @@ def list_all _list_all.map{ |hash| Azure::Armrest::ResourceProvider.new(hash) } end def _list_all - url = File.join(configuration.resource_url, 'providers') + url = File.join(configuration.environment.resource_url, 'providers') url << "?api-version=#{@api_version}" response = rest_get(url) JSON.parse(response)['value'] end