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