metamaps--metamaps/app/models/webhooks/slack/user_present_on_map.rb

8 lines
231 B
Ruby
Raw Permalink Normal View History

2016-09-24 11:00:46 +08:00
# frozen_string_literal: true
2017-11-25 11:23:47 -08:00
2016-04-26 08:08:12 -04:00
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