lib/currency_cloud/reference.rb in currency_cloud-0.10.0 vs lib/currency_cloud/reference.rb in currency_cloud-0.11.2
- old
+ new
@@ -35,7 +35,13 @@
def self.settlement_accounts(params = {})
response = client.get('settlement_accounts', params)
response['settlement_accounts'].map { |s| SettlementAccount.new(s) }
end
+
+ def self.bank_details(params = {})
+ bank_details = client.get('bank_details', params)
+ BankDetails.new(bank_details)
+ end
+
end
end