Module: Gitlab::Client::Lint
- Included in:
- Gitlab::Client
- Defined in:
- lib/gitlab/client/lint.rb
Overview
Defines methods related to lint/validations.
Instance Method Summary collapse
-
#validate_gitlab_ci_yml(content) ⇒ Gitlab::ObjectifiedHash
Checks if your .gitlab-ci.yml file is valid.
Instance Method Details
#validate_gitlab_ci_yml(content) ⇒ Gitlab::ObjectifiedHash
Checks if your .gitlab-ci.yml file is valid.
14 15 16 17 |
# File 'lib/gitlab/client/lint.rb', line 14 def validate_gitlab_ci_yml(content) body = { content: content } post('/lint', body: body) end |