Sha256: 97804256f11b8132b56e6c581004b32677eade47349cf92116f570c1e2602d80
Contents?: true
Size: 254 Bytes
Versions: 37
Compression:
Stored size: 254 Bytes
Contents
class CurrencyPrice < ActiveRecord::Base validates_presence_of :variant_id validates_presence_of :currency validates_uniqueness_of :variant_id, :scope => [:currency] def self.currency_types [ "USD", "GBP", "CHF", "EUR" ] end end
Version data entries
37 entries across 37 versions & 1 rubygems