Classes: Ooffice
5 6 7 8 9 10
# File 'lib/billtrap/adapters.rb', line 5 def load_adapter name adapter = name.downcase require "adapters/#{adapter}" # Try to load the adapter BillTrap::Adapters.const_get(adapter.classify) end