Class: Clusters::Cleanup::BaseService

Inherits:
Object
  • Object
show all
Defined in:
app/services/clusters/cleanup/base_service.rb

Constant Summary collapse

DEFAULT_EXECUTION_INTERVAL =
1.minute

Instance Method Summary collapse

Constructor Details

#initialize(cluster, execution_count = 0) ⇒ BaseService

Returns a new instance of BaseService.


8
9
10
11
# File 'app/services/clusters/cleanup/base_service.rb', line 8

def initialize(cluster, execution_count = 0)
  @cluster = cluster
  @execution_count = execution_count
end