Sha256: ef3afac700d9d057c2ed450b8b10712f2fcff136dc20c69a76e7eced701a0273
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
module Thumbo class AbstractStorage def read filename raise NotImplementedError end def write filename, blob raise NotImplementedError end def write_file filename, file raise NotImplementedError end def delete filename raise NotImplementedError end def paths filename raise NotImplementedError end def exist? filename raise NotImplementedError end protected def raise_file_not_found filename raise Thumbo::FileNotFound.new(filename) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thumbo-0.6.0 | lib/thumbo/storages/abstract.rb |