metamaps--metamaps/app/models/webhooks/slack/user_present_on_map.rb
2016-12-14 19:58:10 -05:00

7 lines
230 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