2016-09-24 03:00:46 +00:00
|
|
|
# frozen_string_literal: true
|
2016-03-12 23:36:38 +00:00
|
|
|
class Webhooks::Slack::TopicAddedToMap < Webhooks::Slack::Base
|
|
|
|
def text
|
2016-12-15 00:58:10 +00:00
|
|
|
"*#{eventable.mappable.name}* was added by *#{event.user.name}* to the map *#{view_map_on_metamaps}*"
|
2016-03-12 23:36:38 +00:00
|
|
|
end
|
2016-07-26 00:14:23 +00:00
|
|
|
# TODO: it would be sweet if it sends it with the metacode as the icon_url
|
2016-03-12 23:36:38 +00:00
|
|
|
end
|