docbrown/lib/slack/notifier/util/link_formatter.rb
2021-04-07 14:28:58 -04:00

15 lines
333 B
Ruby

module Slack
class Notifier
module Util
class LinkFormatter
class << self
# rubocop:disable Style/OptionHash
def format(string, opts = {})
LinkFormatter.new(string, **opts).formatted
end
# rubocop:enable Style/OptionHash
end
end
end
end
end