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

#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

#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