class OffsitePayments::Integrations::PoliPay::FinancialInstitutionsInterface

Public Class Methods

url() click to toggle source
# File lib/offsite_payments/integrations/poli_pay.rb, line 134
def self.url
  "#{base_url}/Entity/GetFinancialInstitutions"
end

Public Instance Methods

call() click to toggle source
# File lib/offsite_payments/integrations/poli_pay.rb, line 138
def call
  raw_response = ssl_get(self.class.url, standard_headers)
  result = parse_response(raw_response)
  result.map { |attr| FinancialInstitution.new(attr) }
end