Class: AbstractStorage
- Inherits:
-
Object
show all
- Defined in:
- lib/thumbo/storages/abstract.rb
Instance Method Summary
collapse
Instance Method Details
#delete(filename) ⇒ Object
11
12
13
|
# File 'lib/thumbo/storages/abstract.rb', line 11
def delete filename
raise NotImplementedError
end
|
#exist?(filename) ⇒ Boolean
19
20
21
|
# File 'lib/thumbo/storages/abstract.rb', line 19
def exist? filename
raise NotImplementedError
end
|
#paths(filename) ⇒ Object
15
16
17
|
# File 'lib/thumbo/storages/abstract.rb', line 15
def paths filename
raise NotImplementedError
end
|
#read(filename) ⇒ Object
3
4
5
|
# File 'lib/thumbo/storages/abstract.rb', line 3
def read filename
raise NotImplementedError
end
|
#write(filename, blob) ⇒ Object
7
8
9
|
# File 'lib/thumbo/storages/abstract.rb', line 7
def write filename, blob
raise NotImplementedError
end
|