<commit_before>class Workflow {
  constructor (client) {
    this.client = client
  }

  enroll (workflowId, email, cb) {
    return this.client._request({
      method: 'POST',
      path: `/automation/v2/workflows/${workflowId}/enrollments/contacts/${email}`,
    }, cb)
  }

  unenroll (workflowId, email, cb) {
    return this.client._request({
      method: 'DELETE',
      path: `/automation/v2/workflows/${workflowId}/enrollments/contacts/${email}`,
    }, cb)
  }
}

module.exports = Workflow<commit_msg>add current method<commit_after>class Workflow {
  constructor (client) {
    this.client = client
  }

  enroll (workflowId, email, cb) {
    return this.client._request({
      method: 'POST',
      path: `/automation/v2/workflows/${workflowId}/enrollments/contacts/${email}`
    }, cb)
  }

  unenroll (workflowId, email, cb) {
    return this.client._request({
      method: 'DELETE',
      path: `/automation/v2/workflows/${workflowId}/enrollments/contacts/${email}`
    }, cb)
  }

  current (contactId, cb) {
    return this.client._request({
      method: 'GET',
      path: `/automation/v2/workflows/enrollments/contacts/${contactId}`
    }, cb)
  }
}

module.exports = Workflow
{'fraction_non_alphanumeric': 0.15679733110925773, 'fraction_numerical': 0.004170141784820684, 'mean_word_length': 3.152249134948097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3776252', 'n_tokens_mistral': 418, 'n_tokens_neox': 424, 'n_words': 71}