Sha256: 30789208840f43a04e27fe54566e8143a3a0eb9fd7473f5e2cb670b3e9d5ffa5

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

class AbstractStorage
  def read filename
    raise NotImplementedError
  end

  def write filename, blob
    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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
godfat-thumbo-0.5.0 lib/thumbo/storages/abstract.rb