mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
16 lines
392 B
Ruby
16 lines
392 B
Ruby
# frozen_string_literal: true
|
|
|
|
module PermittedAttributes
|
|
class Variant
|
|
def self.attributes
|
|
[
|
|
:id, :sku, :on_hand, :on_demand, :shipping_category_id,
|
|
:price, :unit_value, :unit_description,
|
|
:display_name, :display_as, :tax_category_id,
|
|
:weight, :height, :width, :depth, :taxon_ids, :primary_taxon_id,
|
|
:supplier_id
|
|
]
|
|
end
|
|
end
|
|
end
|