Class: Azure::Storage::Common::Service::Logging
- Inherits:
-
Object
- Object
- Azure::Storage::Common::Service::Logging
- Defined in:
- lib/azure/storage/common/service/logging.rb
Instance Attribute Summary collapse
-
#delete ⇒ Object
Returns the value of attribute delete.
-
#read ⇒ Object
Returns the value of attribute read.
-
#retention_policy ⇒ Object
Returns the value of attribute retention_policy.
-
#version ⇒ Object
Returns the value of attribute version.
-
#write ⇒ Object
Returns the value of attribute write.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Logging
constructor
A new instance of Logging.
Constructor Details
#initialize {|_self| ... } ⇒ Logging
Returns a new instance of Logging.
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
#delete ⇒ Object
Returns the value of attribute delete.
41 42 43 |
# File 'lib/azure/storage/common/service/logging.rb', line 41 def delete @delete end |
#read ⇒ Object
Returns the value of attribute read.
42 43 44 |
# File 'lib/azure/storage/common/service/logging.rb', line 42 def read @read end |
#retention_policy ⇒ Object
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 |
#version ⇒ Object
Returns the value of attribute version.
40 41 42 |
# File 'lib/azure/storage/common/service/logging.rb', line 40 def version @version end |
#write ⇒ Object
Returns the value of attribute write.
43 44 45 |
# File 'lib/azure/storage/common/service/logging.rb', line 43 def write @write end |