Sha256: aab39a492bc9d243d624c71216562627304a6f477cadd51706c5e76a5f7deedf
Contents?: true
Size: 448 Bytes
Versions: 3
Compression:
Stored size: 448 Bytes
Contents
module Billing module AccountItem extend ActiveSupport::Concern included do acts_as_paranoid if respond_to?(:acts_as_paranoid) has_paper_trail class_name: 'Billing::Version' if respond_to?(:has_paper_trail) delegate :save, to: :account, prefix: :account delegate :origins, :payment_types, to: :account after_save :account_save validates_presence_of :account end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
billing-0.0.4b | app/models/concerns/billing/account_item.rb |
billing-0.0.4a | app/models/concerns/billing/account_item.rb |
billing-0.0.4 | app/models/concerns/billing/account_item.rb |