Class: Wupee::NotificationTypeConfiguration
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Wupee::NotificationTypeConfiguration
- Defined in:
- app/models/wupee/notification_type_configuration.rb
Instance Method Summary collapse
Instance Method Details
#wants_email? ⇒ Boolean
10 11 12 |
# File 'app/models/wupee/notification_type_configuration.rb', line 10 def wants_email? ['both', 'email'].include?(value) end |
#wants_notification? ⇒ Boolean
14 15 16 |
# File 'app/models/wupee/notification_type_configuration.rb', line 14 def wants_notification? ['both', 'notification'].include?(value) end |