module TwHospital

Constants

VERSION

Public Class Methods

fetch_all() click to toggle source
# File lib/tw_hospital.rb, line 38
def TwHospital.fetch_all
    json = []
    json << Pohai.crawl
    json << Cgmh_kl.crawl
    json << Cgh.crawl
    json << Wanfang.crawl
    json << Ndmctsgh.crawl
    json << Vghtpe.crawl
    json << Ntuh_taipei.crawl
    json << Skh.crawl
    json << Shh.crawl
    json << Tzuchi.crawl
    json << Cgmh_lingko.crawl
    json << Csh.crawl
    json << Vghtc.crawl
    json << Cmuh.crawl
    json << Sltung.crawl
    json << Ktgh_shalu.crawl
    json << Ktgh_dajia.crawl
    json << Cch.crawl
    json << Cgmh_chayi.crawl
    json << Ntuh_yunlin.crawl
    json << Chimei.crawl
    json << Chimei_cl.crawl
    json << Chimei_ly.crawl
    json << Ncku.crawl
    json << Kmuh.crawl
    json << Edah.crawl
    json << Cgmh_ks.crawl
    json << Tzuchi_hl.crawl
    return json
end
schedule_fetch_all() click to toggle source
# File lib/tw_hospital.rb, line 71
def TwHospital.schedule_fetch_all

end