Sha256: 5940a235eb5608a606e135b5f0494bd90d791a3ffde8e61494845d2433dca87e
Contents?: true
Size: 474 Bytes
Versions: 15
Compression:
Stored size: 474 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, :tax_groups, to: :bill validates_presence_of :bill after_save :bill_save after_destroy :bill_save end end end
Version data entries
15 entries across 15 versions & 1 rubygems