Class: Azure::Storage::Common::Service::Logging

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/storage/common/service/logging.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Logging

Returns a new instance of Logging.

Yields:

  • (_self)

Yield Parameters:



31
32
33
34
35
36
37
38
# File 'lib/azure/storage/common/service/logging.rb', line 31

def initialize
  @version = "1.0"
  @delete = false
  @read = false
  @write = false
  @retention_policy = RetentionPolicy.new
  yield self if block_given?
end

Instance Attribute Details

#deleteObject

Returns the value of attribute delete.



41
42
43
# File 'lib/azure/storage/common/service/logging.rb', line 41

def delete
  @delete
end

#readObject

Returns the value of attribute read.



42
43
44
# File 'lib/azure/storage/common/service/logging.rb', line 42

def read
  @read
end

#retention_policyObject

Returns the value of attribute retention_policy.



44
45
46
# File 'lib/azure/storage/common/service/logging.rb', line 44

def retention_policy
  @retention_policy
end

#versionObject

Returns the value of attribute version.



40
41
42
# File 'lib/azure/storage/common/service/logging.rb', line 40

def version
  @version
end

#writeObject

Returns the value of attribute write.



43
44
45
# File 'lib/azure/storage/common/service/logging.rb', line 43

def write
  @write
end