158 159 160 161 162
# File 'lib/paystackapi.rb', line 158 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