getHeaders method

Map<String, String> getHeaders(
  1. Configuration configuration
)

Implementation

Map<String, String> getHeaders(Configuration configuration) {
  return {
    "PRIVATE-TOKEN": configuration.gitlabToken,
    "Content-Type": "application/json",
  };
}