mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
11 lines
333 B
Ruby
11 lines
333 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Just an example, to be replaced with an actual implementation
|
|
module MyModuleStatusConsequences
|
|
class ChangeActivity < MyModuleStatusConsequence
|
|
def call(my_module)
|
|
# Create new activity here
|
|
puts "State changed to #{my_module_status.name}} for #{my_module.name}"
|
|
end
|
|
end
|
|
end
|