Class: Services::MonthlyServiceTableCleanupContext
- Inherits:
-
Object
- Object
- Services::MonthlyServiceTableCleanupContext
- Defined in:
- app/contexts/services/monthly_service_table_cleanup_context.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize ⇒ MonthlyServiceTableCleanupContext
constructor
A new instance of MonthlyServiceTableCleanupContext.
Constructor Details
#initialize ⇒ MonthlyServiceTableCleanupContext
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
.call ⇒ Object
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
#call ⇒ Object
13 14 15 |
# File 'app/contexts/services/monthly_service_table_cleanup_context.rb', line 13 def call clean_up_service_tables end |