Class: Dude::Toggl::StartTimeEntry

Inherits:
Base
  • Object
show all
Defined in:
lib/dude/time_trackers/toggl/start_time_entry.rb

Instance Method Summary collapse

Methods inherited from Base

#projects_response, #toggl_api

Instance Method Details

#call(task_title:, project:) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/dude/time_trackers/toggl/start_time_entry.rb', line 8

def call(task_title:, project:)
  @task_title = task_title
  @project = project

  start_time_entry
  print_message
end