Class: Azure::Service::RetentionPolicy

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/service/retention_policy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RetentionPolicy.

Yields:

  • (_self)

Yield Parameters:



18
19
20
# File 'lib/azure/service/retention_policy.rb', line 18

def initialize
  yield self if block_given?
end

Instance Attribute Details

#daysObject

Returns the value of attribute days.



22
23
24
# File 'lib/azure/service/retention_policy.rb', line 22

def days
  @days
end

#enabledObject

Returns the value of attribute enabled.



21
22
23
# File 'lib/azure/service/retention_policy.rb', line 21

def enabled
  @enabled
end