Class: Spree::Stock::LocationSorter::Unsorted

Inherits:
Base
  • Object
show all
Defined in:
app/models/spree/stock/location_sorter/unsorted.rb

Overview

This stock location sorter will leave the stock locations unsorted.

Instance Attribute Summary

Attributes inherited from Base

#stock_locations

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Spree::Stock::LocationSorter::Base

Instance Method Details

#sortObject



8
9
10
# File 'app/models/spree/stock/location_sorter/unsorted.rb', line 8

def sort
  stock_locations
end