Sha256: 9e2864a85dc99fc15fe6f92436a6aed1a1e07a00764577ca45e706071a4fbd2e
Contents?: true
Size: 261 Bytes
Versions: 91
Compression:
Stored size: 261 Bytes
Contents
# frozen_string_literal: true module Spree class PaymentCaptureEvent < Spree::Base belongs_to :payment, class_name: 'Spree::Payment', optional: true def display_amount Spree::Money.new(amount, { currency: payment.currency }) end end end
Version data entries
91 entries across 91 versions & 1 rubygems