Sha256: 224d9364092dcc340bafa61bb591a6642be69fa1f1e01b87aaf550d28d859259
Contents?: true
Size: 408 Bytes
Versions: 3
Compression:
Stored size: 408 Bytes
Contents
module Tagger class Downloader attr_accessor :spreadsheet_url def initialize(spreadsheet_url) @spreadsheet_url = spreadsheet_url end def download_and_write content = download() write_to_file(content) end private def download open(@spreadsheet_url).read end def write_to_file(content) File.write("tmp/raw.csv", content) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ai_tagger-0.1.2 | lib/tagger/downloader.rb |
ai_tagger-0.1.1 | lib/tagger/downloader.rb |
ai_tagger-0.1.0 | lib/tagger/downloader.rb |