class Travis::Client::Artifact

def current_body

def current_body
  attributes['current_body'] ||= begin
    body = load_attribute('body')
    body.to_s.empty? ? session.get_raw("jobs/#{job_id}/log") : body
  end
end