Sha256: a2f8ad7361f3e74522cc87912e526c9f85335aebecb0e80c85c434c2474f93b5
Contents?: true
Size: 221 Bytes
Versions: 15
Compression:
Stored size: 221 Bytes
Contents
module Spree class PaymentCaptureEvent < ActiveRecord::Base belongs_to :payment, class_name: 'Spree::Payment' def display_amount Spree::Money.new(amount, { currency: payment.currency }) end end end
Version data entries
15 entries across 15 versions & 1 rubygems