lib/mangopay/pay_out.rb in mangopay-3.8.0 vs lib/mangopay/pay_out.rb in mangopay-3.9.0

- old
+ new

@@ -24,7 +24,18 @@ def self.get_bankwire(pay_out_id) url = self.url() + "/" + pay_out_id MangoPay.request(:get, url); end end + + # See https://docs.mangopay.com/endpoints/v2.01/payouts#e1058_check-instant-payout-eligibility + module InstantPayoutEligibility + class Reachability < Resource + include HTTPCalls::Create + + def self.url(*) + "#{MangoPay.api_path}/payouts/reachability" + end + end + end end end