Class: Customer::Guest::DetailedFinder
- Inherits:
-
Object
- Object
- Customer::Guest::DetailedFinder
- Defined in:
- app/finders/customer/guest/detailed_finder.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(email:) ⇒ DetailedFinder
constructor
A new instance of DetailedFinder.
Constructor Details
#initialize(email:) ⇒ DetailedFinder
6 7 8 |
# File 'app/finders/customer/guest/detailed_finder.rb', line 6 def initialize(email:) @email = email end |
Instance Method Details
#execute ⇒ Object
10 11 12 |
# File 'app/finders/customer/guest/detailed_finder.rb', line 10 def execute OpenStruct.new(customer: customer, transactions: transactions, guest: true) end |