Sha256: afa40c7dd2dccd1edc54d19034837ae8d6fdcfa2cff4e04a8e844694ac68b436
Contents?: true
Size: 739 Bytes
Versions: 23
Compression:
Stored size: 739 Bytes
Contents
module Roart # Callbacks are implemented to do a bit of logic either before or after a part of the object life cycle. These can be overridden in your Ticket class and will be called at the approprate times. # module Callbacks # called just before a ticket that has not been saved to the ticketing system is saved. # def before_create; end # Called immediately a ticket that has not been saved is saved. # def before_update; end # called just before a ticket that has been updated is saved to the ticketing system # def after_create; end # called just after a ticket that has been updated is saved to the ticketing system # def after_update; end end end
Version data entries
23 entries across 23 versions & 5 rubygems