Sha256: 8db4c0a2d9b6fbe4ccb27bbb7f50027f2354996a6c7b337584dc20389515743b
Contents?: true
Size: 438 Bytes
Versions: 9
Compression:
Stored size: 438 Bytes
Contents
# frozen_string_literal: true require "active_support/concern" module Decidim # Shared behaviour for notifiable models. module Notifiable extend ActiveSupport::Concern included do # Public: Whether the object is notifiable or not. def notifiable?(_context) true end # Public: A collection of users to send the notifications. def users_to_notify [] end end end end
Version data entries
9 entries across 9 versions & 2 rubygems