app/models/billing/payment.rb in billing-0.0.4c vs app/models/billing/payment.rb in billing-0.0.4d
- old
+ new
@@ -1,10 +1,11 @@
module Billing
class Payment < ActiveRecord::Base
PAYMENT_WITH_TYPE = 'Billing::PaymentWithType'.freeze
PAYMENT_EXTERNAL = 'Billing::PaymentExternal'.freeze
PAYPAL_EXPRESS = 'Billing::PaypalExpress'.freeze
- PAYMENT_MODELS = [PAYMENT_WITH_TYPE, PAYMENT_EXTERNAL, PAYPAL_EXPRESS].freeze
+ ROOM_TRANSFER = 'Billing::RoomTransfer'.freeze
+ PAYMENT_MODELS = [PAYMENT_WITH_TYPE, PAYMENT_EXTERNAL, PAYPAL_EXPRESS, ROOM_TRANSFER].freeze
include BillItem
attr_writer :origin
attr_accessor :origin_id