lib/fog/azurerm/models/storage/directories.rb in fog-azure-rm-0.0.9 vs lib/fog/azurerm/models/storage/directories.rb in fog-azure-rm-0.1.0
- old
+ new
@@ -1,13 +1,10 @@
-require 'fog/core/collection'
-require 'fog/azurerm/models/storage/directory'
-
module Fog
module Storage
class AzureRM
# This class is giving implementation of listing containers.
class Directories < Fog::Collection
- model Fog::Storage::AzureRM::Directory
+ model Directory
def all(options = { metadata: true })
containers = []
service.list_containers(options).each do |container|
hash = Directory.parse container