Class: Services::MonthlyServiceTableCleanupContext

Inherits:
Object
  • Object
show all
Defined in:
app/contexts/services/monthly_service_table_cleanup_context.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMonthlyServiceTableCleanupContext

Returns a new instance of MonthlyServiceTableCleanupContext.



9
10
11
# File 'app/contexts/services/monthly_service_table_cleanup_context.rb', line 9

def initialize
  self.extend MonthlyServiceTableCleaner
end

Class Method Details

.callObject



5
6
7
# File 'app/contexts/services/monthly_service_table_cleanup_context.rb', line 5

def self.call
  MonthlyServiceTableCleanupContext.new.call
end

Instance Method Details

#callObject



13
14
15
# File 'app/contexts/services/monthly_service_table_cleanup_context.rb', line 13

def call
  clean_up_service_tables
end