Sha256: 07e9ecb67212c51c87a38d44270125ead6d83cb35812fd89526b6e196fc3e72c
Contents?: true
Size: 420 Bytes
Versions: 5
Compression:
Stored size: 420 Bytes
Contents
module Billing module BillItem 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: :bill, prefix: :bill delegate :origins, :payment_types, to: :bill after_save :bill_save after_destroy :bill_save end end end
Version data entries
5 entries across 5 versions & 1 rubygems