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

7 lines
231 B
Ruby

# frozen_string_literal: true
class Webhooks::Slack::UserPresentOnMap < Webhooks::Slack::Base
def text
"Mapper *#{event.user.name}* has joined the map *#{event.map.name}*. #{view_map_on_metamaps('Map with them')}"
end
end