Sha256: 8a60d60de40f903c016135f747c9f500c222e3e5c84b418bc4ab6aacf5e274d0
Contents?: true
Size: 312 Bytes
Versions: 21
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true class Spree::StoreCreditReason < Spree::Base include Spree::NamedType has_many :store_credit_events, inverse_of: :store_credit_reason validates :name, presence: true, uniqueness: { case_sensitive: false, allow_blank: true } scope :active, -> { where(active: true) } end
Version data entries
21 entries across 21 versions & 1 rubygems