Sha256: 0f80d6bcef4755d4bb36cfcae54982f7ad16d1f37649670a943bfda31056f227
Contents?: true
Size: 246 Bytes
Versions: 8
Compression:
Stored size: 246 Bytes
Contents
module Piggybak class PaymentMethodValue < ActiveRecord::Base belongs_to :payment_method validates :key, presence: true validates :value, presence: true def admin_label "#{self.key} - #{self.value}" end end end
Version data entries
8 entries across 8 versions & 1 rubygems