Class: Spree::SearchProvider::SearchResult

Inherits:
Struct
  • Object
show all
Defined in:
app/models/spree/search_provider/search_result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#default_sortObject

Returns the value of attribute default_sort

Returns:

  • (Object)

    the current value of default_sort



3
4
5
# File 'app/models/spree/search_provider/search_result.rb', line 3

def default_sort
  @default_sort
end

#filtersObject

Returns the value of attribute filters

Returns:

  • (Object)

    the current value of filters



3
4
5
# File 'app/models/spree/search_provider/search_result.rb', line 3

def filters
  @filters
end

#pagyObject

Returns the value of attribute pagy

Returns:

  • (Object)

    the current value of pagy



3
4
5
# File 'app/models/spree/search_provider/search_result.rb', line 3

def pagy
  @pagy
end

#productsObject

Returns the value of attribute products

Returns:

  • (Object)

    the current value of products



3
4
5
# File 'app/models/spree/search_provider/search_result.rb', line 3

def products
  @products
end

#sort_optionsObject

Returns the value of attribute sort_options

Returns:

  • (Object)

    the current value of sort_options



3
4
5
# File 'app/models/spree/search_provider/search_result.rb', line 3

def sort_options
  @sort_options
end

#total_countObject

Returns the value of attribute total_count

Returns:

  • (Object)

    the current value of total_count



3
4
5
# File 'app/models/spree/search_provider/search_result.rb', line 3

def total_count
  @total_count
end