lib/fog/azurerm/models/storage/files.rb in fog-azure-rm-0.0.9 vs lib/fog/azurerm/models/storage/files.rb in fog-azure-rm-0.1.0
- old
+ new
@@ -1,13 +1,10 @@
-require 'fog/core/collection'
-require 'fog/azurerm/models/storage/file'
-
module Fog
module Storage
class AzureRM
# This class is giving implementation of listing blobs.
class Files < Fog::Collection
- model Fog::Storage::AzureRM::File
+ model File
attribute :directory
def all(options = { metadata: true })
files = []
service.list_blobs(directory, options).each do |blob|