Method: Azure::Service::Metrics#initialize

Defined in:
lib/azure/service/metrics.rb

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

Returns a new instance of Metrics.

Yields:

  • (_self)

Yield Parameters:



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

def initialize
  @retention_policy = RetentionPolicy.new
  yield self if block_given?
end