lib/fog/azurerm.rb in gitlab-fog-azure-rm-1.8.0 vs lib/fog/azurerm.rb in gitlab-fog-azure-rm-1.9.0
- old
+ new
@@ -9,16 +9,15 @@
require 'fog/azurerm/models/storage/sku_name'
require 'fog/azurerm/models/storage/sku_tier'
require 'fog/azurerm/models/storage/kind'
module Fog
- # Autoload Module for Storage
- module Storage
- autoload :AzureRM, File.expand_path('azurerm/storage', __dir__)
- end
-
# Main AzureRM fog Provider Module
module AzureRM
extend Fog::Provider
+
+ # Autoload Module for Storage
+ autoload :Storage, File.expand_path('azurerm/storage', __dir__)
+
service(:storage, 'Storage')
end
end