lib/tickethub/supplier/payment.rb in tickethub-0.3.1 vs lib/tickethub/supplier/payment.rb in tickethub-0.3.2
- old
+ new
@@ -20,9 +20,10 @@
attribute :amount, type: :money
attribute :refunded, type: :money
attribute :currency, type: :currency
attribute :refunded_at, type: :datetime
+ attribute :confirmed_at, type: :datetime
attribute :created_at, type: :datetime
attribute :updated_at, type: :datetime
def refund(attributes)
self.load @endpoint[:refund].post(attributes).decoded
\ No newline at end of file