Sha256: 309c48302862cc2a51d1b992d52b38237001d652ee88f5fe5608863a69cdf800

Contents?: true

Size: 163 Bytes

Versions: 22

Compression:

Stored size: 163 Bytes

Contents

module Piggybak
  class Credit < ActiveRecord::Base
    belongs_to :order
    belongs_to :source, :polymorphic => true

    validates_presence_of :total
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
piggybak-0.4.15 app/models/piggybak/credit.rb
piggybak-0.4.14 app/models/piggybak/credit.rb
piggybak-0.4.13 app/models/piggybak/credit.rb
piggybak-0.4.12 app/models/piggybak/credit.rb
piggybak-0.4.11 app/models/piggybak/credit.rb
piggybak-0.4.10 app/models/piggybak/credit.rb
piggybak-0.4.9 app/models/piggybak/credit.rb
piggybak-0.4.8 app/models/piggybak/credit.rb
piggybak-0.4.7.1 app/models/piggybak/credit.rb
piggybak-0.4.7 app/models/piggybak/credit.rb
piggybak-0.4.6 app/models/piggybak/credit.rb
piggybak-0.4.5 app/models/piggybak/credit.rb
piggybak-0.4.4 app/models/piggybak/credit.rb
piggybak-0.4.3 app/models/piggybak/credit.rb
piggybak-0.4.2 app/models/piggybak/credit.rb
piggybak-0.4.1 app/models/piggybak/credit.rb
piggybak-0.4.0 app/models/piggybak/credit.rb
piggybak-0.3.2 app/models/piggybak/credit.rb
piggybak-0.3.1 app/models/piggybak/credit.rb
piggybak-0.3.0 app/models/piggybak/credit.rb