2 3 4 5 6
# File 'lib/paystackapi/core/bank.rb', line 2 def self.banks api = HTTParty.get("#{API::BASE_URL}" + "#{API::BANK_PATH}", :headers => { "Authorization"=> ENV["PAYSTACK_SECRET_KEY"], "content-type" => "application/json"}) return api end