Module: GroupedMessage::InstanceMethods
- Defined in:
- lib/grouped_message.rb
Instance Method Summary collapse
Instance Method Details
#inactive_readers_with_groups ⇒ Object
22 23 24 |
# File 'lib/grouped_message.rb', line 22 def inactive_readers_with_groups groups.any? ? Reader.in_groups(groups).inactive : inactive_readers_without_groups end |
#possible_readers_with_groups ⇒ Object
19 20 21 |
# File 'lib/grouped_message.rb', line 19 def possible_readers_with_groups groups.any? ? Reader.in_groups(groups).active : possible_readers_without_groups end |