Commit 3f784bff authored by Markus Koller's avatar Markus Koller Committed by Andy Soiron

Add comments about #strip_markup usage

parent 55a4cc5a
...@@ -47,16 +47,21 @@ module Integrations ...@@ -47,16 +47,21 @@ module Integrations
format(message) format(message)
end end
# NOTE: Make sure to call `#strip_markup` on any untrusted user input that's added to the
# `title`, `subtitle`, `text`, `fallback`, or `author_name` fields.
def attachments def attachments
raise NotImplementedError raise NotImplementedError
end end
# NOTE: Make sure to call `#strip_markup` on any untrusted user input that's added to the
# `title`, `subtitle`, `text`, `fallback`, or `author_name` fields.
def activity def activity
raise NotImplementedError raise NotImplementedError
end end
private private
# NOTE: Make sure to call `#strip_markup` on any untrusted user input that's added to the string.
def message def message
raise NotImplementedError raise NotImplementedError
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment