lib/fog/azurerm/models/storage/directory.rb in gitlab-fog-azure-rm-1.3.0 vs lib/fog/azurerm/models/storage/directory.rb in gitlab-fog-azure-rm-1.4.0
- old
+ new
@@ -3,9 +3,11 @@
class AzureRM
# This class is giving implementation of create and delete a container.
class Directory < Fog::Model
VALID_ACLS = ['container', 'blob', 'unknown', nil].freeze
+ include Fog::AzureRM::Utilities::General
+
attr_writer :acl
identity :key, aliases: %w(Name name)
attribute :etag, aliases: %w(Etag ETag)
attribute :last_modified, aliases: %w(Last-Modified LastModified), type: 'time'