Class: Customer::Guest::BasicFinder
- Inherits:
-
Object
- Object
- Customer::Guest::BasicFinder
- Defined in:
- app/finders/customer/guest/basic_finder.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(emails:, options: {}) ⇒ BasicFinder
constructor
A new instance of BasicFinder.
Constructor Details
#initialize(emails:, options: {}) ⇒ BasicFinder
Returns a new instance of BasicFinder.
6 7 8 9 |
# File 'app/finders/customer/guest/basic_finder.rb', line 6 def initialize(emails:, options: {}) @emails = emails = end |
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 |
# File 'app/finders/customer/guest/basic_finder.rb', line 11 def execute return [] if emails.empty? guest_customers end |