Class: Azure::Service::RetentionPolicy
- Inherits:
-
Object
- Object
- Azure::Service::RetentionPolicy
- Defined in:
- lib/azure/service/retention_policy.rb
Instance Attribute Summary collapse
-
#days ⇒ Object
Returns the value of attribute days.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ RetentionPolicy
constructor
A new instance of RetentionPolicy.
Constructor Details
#initialize {|_self| ... } ⇒ RetentionPolicy
Returns a new instance of RetentionPolicy.
18 19 20 |
# File 'lib/azure/service/retention_policy.rb', line 18 def initialize yield self if block_given? end |
Instance Attribute Details
#days ⇒ Object
Returns the value of attribute days.
22 23 24 |
# File 'lib/azure/service/retention_policy.rb', line 22 def days @days end |
#enabled ⇒ Object
Returns the value of attribute enabled.
21 22 23 |
# File 'lib/azure/service/retention_policy.rb', line 21 def enabled @enabled end |