30 lines
338 B
Ruby
30 lines
338 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module StorageManager
|
||
|
class Null
|
||
|
def delete(_path)
|
||
|
# noop
|
||
|
end
|
||
|
|
||
|
def exists?(_path)
|
||
|
false
|
||
|
end
|
||
|
|
||
|
def get(_path)
|
||
|
nil
|
||
|
end
|
||
|
|
||
|
def put(_path, _io)
|
||
|
# noop
|
||
|
end
|
||
|
|
||
|
def upload(_path, _body)
|
||
|
nil
|
||
|
end
|
||
|
|
||
|
def url_for(_entry)
|
||
|
nil
|
||
|
end
|
||
|
end
|
||
|
end
|