Sha256: 80bcb78ce8f577d081ed7fe287f3e42b93b5178328ffd27436749d80711197e0
Contents?: true
Size: 369 Bytes
Versions: 6
Compression:
Stored size: 369 Bytes
Contents
class ChannableSetting < ActiveRecord::Base belongs_to :stock_location, foreign_key: 'spree_stock_location_id', class_name: 'Spree::StockLocation' belongs_to :payment_method, foreign_key: 'spree_payment_method_id', class_name: 'Spree::PaymentMethod' PRODUCT_CONDITIONS = ['New', 'Used'] validates_inclusion_of :product_condition, in: PRODUCT_CONDITIONS end
Version data entries
6 entries across 6 versions & 1 rubygems