class Navfund::BankOfCommerce
Constants
- Funds
- MAIN_URL
List of funds
Public Class Methods
new(main_url=nil)
click to toggle source
# File lib/navfund/providers/bank_of_commerce.rb, line 14 def initialize(main_url=nil) @url = main_url ||= MAIN_URL @funds = Funds scrape end
Public Instance Methods
value(fund, fund_type=nil)
click to toggle source
Fetch the current value
# File lib/navfund/providers/bank_of_commerce.rb, line 21 def value(fund, fund_type=nil) uitf_com_ph_parser(fund) end
value_at()
click to toggle source
# File lib/navfund/providers/bank_of_commerce.rb, line 25 def value_at uitf_com_ph_date_parser end