lib/pay/billable.rb in pay-2.6.11 vs lib/pay/billable.rb in pay-2.7.0

- old
+ new

@@ -24,9 +24,13 @@ attribute :plan, :string attribute :quantity, :integer attribute :card_token, :string attribute :pay_fake_processor_allowed, :boolean, default: false + # Account(s) for marketplace payments + store_accessor :pay_data, :stripe_account + store_accessor :pay_data, :braintree_account + validate :pay_fake_processor_is_allowed, if: :processor_changed? end def payment_processor @payment_processor ||= payment_processor_for(processor).new(self)