class Bard::CI::GithubActions::Job
Public Instance Methods
Source
# File lib/bard/ci/github_actions.rb, line 165 def logs @logs ||= api.download_logs_by_job_id(id) end
Source
# File lib/bard/ci/github_actions.rb, line 160 def time_elapsed Time.parse(json["completed_at"]).to_i - Time.parse(json["started_at"]).to_i end