Sha256: fb599eda5fc0eb0103dc900f59e4a9da18d03bc2619350afbd09565e87b5f1a7
Contents?: true
Size: 526 Bytes
Versions: 19
Compression:
Stored size: 526 Bytes
Contents
module AssetCloud class InvalidBucketError < StandardError end class InvalidBucket < Bucket Error = "No such namespace: %s".freeze def ls(namespace) raise InvalidBucketError, Error % namespace 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
19 entries across 19 versions & 1 rubygems