docs: port data import methods to readthedocs

This commit is contained in:
Andy Meneely
2016-01-29 21:26:51 -05:00
parent 64b3440658
commit ec767110a6
5 changed files with 72 additions and 11 deletions
+1
View File
@@ -101,6 +101,7 @@ module Squib
end
module_function :check_duplicate_csv_headers
# @api private
def explode_quantities(data, qty)
return data unless data.key? qty.to_s.strip
qtys = data[qty]