lib/fog/azurerm/models/storage/file.rb in gitlab-fog-azure-rm-1.3.0 vs lib/fog/azurerm/models/storage/file.rb in gitlab-fog-azure-rm-1.4.0
- old
+ new
@@ -4,9 +4,11 @@
module Storage
class AzureRM
# This class is giving implementation of create/save and
# delete/destroy for Blob.
class File < Fog::Model
+ include Fog::AzureRM::Utilities::General
+
identity :key, aliases: %w(Name name Key)
attr_writer :body
attribute :directory
attribute :accept_ranges, aliases: %w(Accept-Ranges AcceptRanges)