lib/fbo/remote_file.rb in fbo-0.0.1 vs lib/fbo/remote_file.rb in fbo-0.0.2
- old
+ new
@@ -9,14 +9,9 @@
class << self
def for_date(date, options = {})
filename = filename_for_date(date)
FBO::RemoteFile.new(filename, options)
end
-
- def filename_for_date(date)
- raise ArgumentError, "No date given for file" unless date
- "FBOFeed#{ date.strftime("%Y%m%d") }"
- end
end
def initialize(filename, options = {})
@filename = filename
@tmp_dir = options[:tmp_dir] || TMP_DIR