metamaps--metamaps/app/models/webhooks/slack/topic_added_to_map.rb
2017-11-25 11:23:47 -08:00

8 lines
289 B
Ruby

# frozen_string_literal: true
class Webhooks::Slack::TopicAddedToMap < Webhooks::Slack::Base
def text
"*#{eventable.name}* was added by *#{event.user.name}* to the map *#{view_map_on_metamaps}*"
end
# TODO: it would be sweet if it sends it with the metacode as the icon_url
end