lib/fog/azurerm/models/storage/storage_account.rb in gitlab-fog-azure-rm-1.8.0 vs lib/fog/azurerm/models/storage/storage_account.rb in gitlab-fog-azure-rm-1.9.0

- old
+ new

@@ -1,8 +1,8 @@ module Fog - module Storage - class AzureRM + module AzureRM + class Storage # This class is giving implementation of create/save and # delete/destroy for storage account. class StorageAccount < Fog::Model identity :name attribute :id @@ -33,11 +33,11 @@ # Create a model for new storage account. self.sku_name = STANDARD_STORAGE if sku_name.nil? self.replication = ALLOWED_STANDARD_REPLICATION.first if replication.nil? validate_sku_name! storage_account = service.create_storage_account(storage_account_params) - merge_attributes(Fog::Storage::AzureRM::StorageAccount.parse(storage_account)) + merge_attributes(Fog::AzureRM::Storage::StorageAccount.parse(storage_account)) end def storage_account_params { resource_group: resource_group, @@ -53,10 +53,10 @@ def update(storage_account_params) validate_input(storage_account_params) storage_account_params = merge_attributes(storage_account_params).all_attributes storage_account = service.update_storage_account(storage_account_params) - merge_attributes(Fog::Storage::AzureRM::StorageAccount.parse(storage_account)) + merge_attributes(Fog::AzureRM::Storage::StorageAccount.parse(storage_account)) end def validate_sku_name! case sku_name when STANDARD_STORAGE