Sha256: af8738823104a50594a626334db5505e2b5e2b8729e8aae0dbfe5c4544f31eb8
Contents?: true
Size: 353 Bytes
Versions: 2
Compression:
Stored size: 353 Bytes
Contents
class BillingActivity < ActiveRecord::Base belongs_to :subscription has_one :invoice has_one :transaction attr_accessible :action, :amount, :response, :subscription, :invoice, :message MESSAGES = {:success => "Thank you for your payment."} scope :recent, order("created_at DESC") scope :limit, lambda {|num| limit(num) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
saasaparilla-0.2.2 | app/models/billing_activity.rb |
saasaparilla-0.2.1 | app/models/billing_activity.rb |