Class: Organizations::OrganizationsFinder
- Inherits:
-
Object
- Object
- Organizations::OrganizationsFinder
- Defined in:
- app/finders/organizations/organizations_finder.rb
Direct Known Subclasses
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(current_user, params = {}) ⇒ OrganizationsFinder
constructor
A new instance of OrganizationsFinder.
Constructor Details
#initialize(current_user, params = {}) ⇒ OrganizationsFinder
Returns a new instance of OrganizationsFinder.
11 12 13 14 |
# File 'app/finders/organizations/organizations_finder.rb', line 11 def initialize(current_user, params = {}) @current_user = current_user @params = params end |
Instance Method Details
#execute ⇒ Object
16 17 18 |
# File 'app/finders/organizations/organizations_finder.rb', line 16 def execute filter_organizations(base_scope) end |