Class: PaymentTransaction

Inherits:
ActiveRecord::Base show all
Defined in:
app/models/payment_transaction.rb

Instance Method Summary collapse

Instance Method Details

#to_partial_pathObject



9
10
11
# File 'app/models/payment_transaction.rb', line 9

def to_partial_path
  "admin/orders/payment_transactions/#{order.payment_method.class.partialize}"
end