Module: Comable::Stock::Csvable

Extended by:
ActiveSupport::Concern
Includes:
Importable
Included in:
Comable::Stock
Defined in:
app/models/comable/stock/csvable.rb

Instance Method Summary collapse

Instance Method Details

#product_id=(id) ⇒ Object


20
21
22
# File 'app/models/comable/stock/csvable.rb', line 20

def product_id=(id)
  self.product = Comable::Product.find_by(id: id)
end