summaryrefslogtreecommitdiff
path: root/app/queries/searches/base_search.rb
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-04-16 13:02:26 -0600
committerHombreLaser <sebastian-440@live.com>2023-04-16 13:02:26 -0600
commit62ebfcb0901002c1377d5677ed1a0d062ab94ff0 (patch)
treee6eb92f5d1fe2dc618e02f577c43ef0b4d256f79 /app/queries/searches/base_search.rb
parentf158d350f10ae6850c7ee168f0345197c3265d5c (diff)
Añade búsqueda de productos
Diffstat (limited to 'app/queries/searches/base_search.rb')
-rw-r--r--app/queries/searches/base_search.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/queries/searches/base_search.rb b/app/queries/searches/base_search.rb
new file mode 100644
index 0000000..b8c49d4
--- /dev/null
+++ b/app/queries/searches/base_search.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+module Searches
+ # BaseSearch
+ class BaseSearch
+ def initialize(scope, params)
+ @scope = scope
+ @params = params
+ @scope_filter = ScopeFilters::ProductScopeFilter.new(scope, @params)
+ end
+ end
+end