class Capwatch::Fund::Config::Remote
Constants
- FILE_NAME
Public Instance Methods
fetch(remote_url)
click to toggle source
# File lib/capwatch/fund/config.rb, line 59 def fetch(remote_url) open(remote_url).read end
get_data()
click to toggle source
# File lib/capwatch/fund/config.rb, line 63 def get_data remote_file_url = File.open(File.expand_path(FILE_NAME)).read.strip fetch(remote_file_url) end