app/models/payments/comp_payment.rb in artfully_ose-1.2.0 vs app/models/payments/comp_payment.rb in artfully_ose-1.3.0.pre1
- old
+ new
@@ -1,9 +1,8 @@
# This class is used to encapsulate a comp made through a payment interface (the box office)
# Comping from producer screens doesn't use this class
class CompPayment < Payment
payment_method :comp
- attr_accessor :benefactor
#benefactor is the user that is doing the comping (current_user)
#person is the person record receiving the comp. It must have the id set
def initialize(params)
params = params.is_a?(Array) ? params[0] : params
\ No newline at end of file