Class: Thumbo::AbstractStorage
- Inherits:
-
Object
- Object
- Thumbo::AbstractStorage
- Defined in:
- lib/thumbo/storages/abstract.rb
Direct Known Subclasses
Instance Method Summary collapse
- #delete(filename) ⇒ Object
- #exist?(filename) ⇒ Boolean
- #paths(filename) ⇒ Object
- #read(filename) ⇒ Object
- #write(filename, blob) ⇒ Object
- #write_file(filename, file) ⇒ Object
Instance Method Details
#delete(filename) ⇒ Object
16 17 18 |
# File 'lib/thumbo/storages/abstract.rb', line 16 def delete filename raise NotImplementedError end |
#exist?(filename) ⇒ Boolean
24 25 26 |
# File 'lib/thumbo/storages/abstract.rb', line 24 def exist? filename raise NotImplementedError end |
#paths(filename) ⇒ Object
20 21 22 |
# File 'lib/thumbo/storages/abstract.rb', line 20 def paths filename raise NotImplementedError end |
#read(filename) ⇒ Object
4 5 6 |
# File 'lib/thumbo/storages/abstract.rb', line 4 def read filename raise NotImplementedError end |
#write(filename, blob) ⇒ Object
8 9 10 |
# File 'lib/thumbo/storages/abstract.rb', line 8 def write filename, blob raise NotImplementedError end |
#write_file(filename, file) ⇒ Object
12 13 14 |
# File 'lib/thumbo/storages/abstract.rb', line 12 def write_file filename, file raise NotImplementedError end |