Class: Focus::PostWorkLogToJira

Inherits:
Action
  • Object
show all
Defined in:
lib/focus/actions/log_work_for_jira.rb

Instance Method Summary collapse

Methods inherited from Action

#call, #config, #error_message

Instance Method Details

#performObject



3
4
5
6
# File 'lib/focus/actions/log_work_for_jira.rb', line 3

def perform
  return unless jira_ticket && seconds_focused >= 60
  Utils::WebClient.post(issue_url, options)
end