lib/currency_cloud/reference.rb in currency_cloud-0.12.5 vs lib/currency_cloud/reference.rb in currency_cloud-0.14.2
- old
+ new
@@ -41,7 +41,12 @@
def self.bank_details(params = {})
bank_details = client.get('bank_details', params)
BankDetails.new(bank_details)
end
+ def self.payment_fee_rules(params = {})
+ response = client.get('payment_fee_rules', params)
+ response['payment_fee_rules'].map { |s| PaymentFeeRule.new(s) }
+ end
+
end
end