Module: RedmineEventsManager::Patches::TimeEntryPatch::InstanceMethods
- Defined in:
- lib/redmine_events_manager/patches/time_entry_patch.rb
Instance Method Summary collapse
- #time_entry_create_event ⇒ Object
- #time_entry_destroy_event ⇒ Object
- #time_entry_update_event ⇒ Object
Instance Method Details
#time_entry_create_event ⇒ Object
17 18 19 |
# File 'lib/redmine_events_manager/patches/time_entry_patch.rb', line 17 def time_entry_create_event RedmineEventsManager.trigger(TimeEntry, :create, self) end |
#time_entry_destroy_event ⇒ Object
21 22 23 24 |
# File 'lib/redmine_events_manager/patches/time_entry_patch.rb', line 21 def time_entry_destroy_event RedmineEventsManager.trigger(TimeEntry, :delete, RedmineEventsManager::RemovedRecord.new(self)) end |
#time_entry_update_event ⇒ Object
26 27 28 29 |
# File 'lib/redmine_events_manager/patches/time_entry_patch.rb', line 26 def time_entry_update_event RedmineEventsManager.trigger(TimeEntry, :update, RedmineEventsManager::UpdatedRecord.new(self)) end |