Module: Bustle::Concern::ForSubscriber::ClassMethods
- Defined in:
- lib/bustle/concerns/for_subscriber.rb
Instance Method Summary collapse
Instance Method Details
#for(subscriber, conditions = {}) ⇒ Object
6 7 8 |
# File 'lib/bustle/concerns/for_subscriber.rb', line 6 def for(subscriber, conditions = {}) filter({ :subscriber_id => subscriber.id }.merge(conditions)) end |