lib/mangopay/pay_out.rb in mangopay-3.3.0 vs lib/mangopay/pay_out.rb in mangopay-3.4.0

- old
+ new

@@ -18,8 +18,13 @@ include HTTPCalls::Create def self.url(*) "#{MangoPay.api_path}/payouts/bankwire" end + + def self.get_bankwire(pay_out_id) + url = self.url() + "/" + pay_out_id + MangoPay.request(:get, url); + end end end end