Module: Gitlab::Client::Markdown
- Included in:
- Gitlab::Client
- Defined in:
- lib/gitlab/client/markdown.rb
Overview
Defines methods related to markdown.
Instance Method Summary collapse
-
#markdown(text, options = {}) ⇒ Gitlab::ObjectifiedHash
Render an arbitrary Markdown document.
Instance Method Details
#markdown(text, options = {}) ⇒ Gitlab::ObjectifiedHash
Render an arbitrary Markdown document
18 19 20 21 |
# File 'lib/gitlab/client/markdown.rb', line 18 def markdown(text, = {}) body = { text: text }.merge() post('/markdown', body: body) end |