Module: FineAnts::Adapters
- Defined in:
- lib/fine_ants/adapters.rb,
lib/fine_ants/adapters/pnc.rb,
lib/fine_ants/adapters/amex.rb,
lib/fine_ants/adapters/strs.rb,
lib/fine_ants/adapters/chase.rb,
lib/fine_ants/adapters/etrade.rb,
lib/fine_ants/adapters/schwab.rb,
lib/fine_ants/adapters/simple.rb,
lib/fine_ants/adapters/target.rb,
lib/fine_ants/adapters/zillow.rb,
lib/fine_ants/adapters/vanguard.rb,
lib/fine_ants/adapters/purduefed.rb,
lib/fine_ants/adapters/betterment.rb,
lib/fine_ants/adapters/ufb_direct.rb,
lib/fine_ants/adapters/simple_bancorp.rb
Defined Under Namespace
Classes: Amex, Betterment, Chase, Etrade, Pnc, Purduefed, Schwab, Simple, SimpleBancorp, Strs, Target, UfbDirect, Vanguard, Zillow
Class Method Summary collapse
Class Method Details
.look_up(name) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/fine_ants/adapters.rb', line 8 def self.look_up(name) const_name = name.to_s.tr("_", " ").split(" ").map(&:capitalize).join const_get(const_name).tap do |adapter| adapter.class_eval do include Capybara::DSL end end end |