Sha256: 00b906c8a1c3b69d888077d3c65ae726a4a9548440115f80f4b45a71e099b63b

Contents?: true

Size: 598 Bytes

Versions: 62

Compression:

Stored size: 598 Bytes

Contents

module Workarea
  module Search
    class StorefrontSearch
      module Middleware
        extend ActiveSupport::Concern

        included do
          include I18n::DefaultUrlOptions
          include Workarea::Storefront::Engine.routes.url_helpers
          include Workarea::Storefront::NavigationHelper

          attr_reader :params, :customization
        end

        def initialize(params, customization)
          @params = params
          @customization = customization
        end

        def call(response)
          raise(NotImplementedError)
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.13 app/queries/workarea/search/storefront_search/middleware.rb
workarea-core-3.4.12 app/queries/workarea/search/storefront_search/middleware.rb