Class: Memberships::DestroyedNotification

Inherits:
SimpleTeams::MembershipNotification
  • Object
show all
Defined in:
app/notifications/simple_teams/memberships/destroyed_notification.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



4
5
6
# File 'app/notifications/simple_teams/memberships/destroyed_notification.rb', line 4

def message
  "#{user_name} removed #{member_name} from #{team_name}."
end

#subjectObject



8
9
10
# File 'app/notifications/simple_teams/memberships/destroyed_notification.rb', line 8

def subject
  "Member Removed"
end