Sha256: 818213942c66b1081a7afa48e1e44da0c7fac3469f7a2df457a33b0004560bbe
Contents?: true
Size: 180 Bytes
Versions: 10
Compression:
Stored size: 180 Bytes
Contents
# frozen_string_literal: true module SolidusBolt module PaymentDecorator def can_void? super && state == 'pending' end Spree::Payment.prepend(self) end end
Version data entries
10 entries across 10 versions & 1 rubygems