Sha256: 248f959505e5028cddfe938577b6703663bfd8236b6cc5f2dd665ff2a722d216
Contents?: true
Size: 600 Bytes
Versions: 9
Compression:
Stored size: 600 Bytes
Contents
module AssetCloud class InvalidBucketError < StandardError end class InvalidBucket < Bucket Error = "No such namespace: %s".freeze def ls(namespace) raise InvalidBucketError, Error % key end def read(key) raise InvalidBucketError, Error % key end def write(key, data) raise InvalidBucketError, Error % key end def delete(key) raise InvalidBucketError, Error % key end def stat(key) raise InvalidBucketError, Error % key end end end
Version data entries
9 entries across 9 versions & 2 rubygems