Class: Spree::Variants::VisibleFinder
- Inherits:
-
Object
- Object
- Spree::Variants::VisibleFinder
- Defined in:
- app/finders/spree/variants/visible_finder.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(scope:, current_currency:) ⇒ VisibleFinder
constructor
A new instance of VisibleFinder.
Constructor Details
#initialize(scope:, current_currency:) ⇒ VisibleFinder
Returns a new instance of VisibleFinder.
4 5 6 7 |
# File 'app/finders/spree/variants/visible_finder.rb', line 4 def initialize(scope:, current_currency:) @scope = scope @current_currency = current_currency end |