Class: Workarea::Segment::Rules::LoggedIn
- Defined in:
- app/models/workarea/segment/rules/logged_in.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from ApplicationDocument
Methods included from Sidekiq::Callbacks
add_worker, assert_valid_config!, async, caching_classes?, disable, enable, inline, #run_callbacks, workers, workers_list
Methods included from Mongoid::Document
Instance Method Details
#qualifies?(visit) ⇒ Boolean
7 8 9 |
# File 'app/models/workarea/segment/rules/logged_in.rb', line 7 def qualifies?(visit) logged_in? == visit.logged_in? end |