app/models/shoppe/payment.rb in shoppe-0.0.19 vs app/models/shoppe/payment.rb in shoppe-0.0.20

- old
+ new

@@ -40,10 +40,10 @@ # How much of the payment can be refunded # # @return [BigDecimal] def refundable_amount - refundable? ? (self.amount - self.amount_refunded) : BigDecimal(0.0) + refundable? ? (self.amount - self.amount_refunded) : BigDecimal(0) end # Process a refund from this payment. # # @param amount [String] the amount which should be refunded