Class: Durt::NotifyPlugin

Inherits:
Plugin
  • Object
show all
Defined in:
lib/durt/notify_plugin.rb

Constant Summary

Constants inherited from Plugin

Plugin::PLUGINS

Instance Attribute Summary

Attributes inherited from Plugin

#config, #project

Instance Method Summary collapse

Methods inherited from Plugin

all, #before_enter, #bug_tracker, demo_config, #enter, #fetch_issues, #filter, find_by_plugin_name, #initialize, #issues, #plugin_name, plugin_name, #push_issue, #source_name, #switch_project, #time_tracker

Constructor Details

This class inherits a constructor from Durt::Plugin

Instance Method Details

#start(value) ⇒ Object



7
8
9
# File 'lib/durt/notify_plugin.rb', line 7

def start(value)
  time_tracker.start(value)
end

#stop(value) ⇒ Object



11
12
13
# File 'lib/durt/notify_plugin.rb', line 11

def stop(value)
  time_tracker.stop(value)
end

#time_tracker_classObject



15
16
17
# File 'lib/durt/notify_plugin.rb', line 15

def time_tracker_class
  Durt::NotifyTracker
end