Class: TimeLogRobot::Tagger

Inherits:
Object
  • Object
show all
Defined in:
lib/time_log_robot/tagger.rb

Class Method Summary collapse

Class Method Details

.tag(entry) ⇒ Object



4
5
6
7
8
9
# File 'lib/time_log_robot/tagger.rb', line 4

def tag(entry)
  case entry
  when Toggl::Entry
    Toggl::Tagger.update(entry_id: entry.id)
  end
end