Class: AssetCloud::InvalidBucket

Inherits:
Bucket
  • Object
show all
Defined in:
lib/asset_cloud/buckets/invalid_bucket.rb

Instance Attribute Summary

Attributes inherited from Bucket

#cloud, #name

Instance Method Summary collapse

Methods inherited from Bucket

#initialize, #versioned?

Constructor Details

This class inherits a constructor from AssetCloud::Bucket

Instance Method Details

#delete(key) ⇒ Object

Raises:



23
24
25
# File 'lib/asset_cloud/buckets/invalid_bucket.rb', line 23

def delete(key)
  raise InvalidBucketError, ERROR % key
end

#ls(namespace) ⇒ Object

Raises:



11
12
13
# File 'lib/asset_cloud/buckets/invalid_bucket.rb', line 11

def ls(namespace)
  raise InvalidBucketError, ERROR % namespace
end

#read(key) ⇒ Object

Raises:



15
16
17
# File 'lib/asset_cloud/buckets/invalid_bucket.rb', line 15

def read(key)
  raise InvalidBucketError, ERROR % key
end

#stat(key) ⇒ Object

Raises:



27
28
29
# File 'lib/asset_cloud/buckets/invalid_bucket.rb', line 27

def stat(key)
  raise InvalidBucketError, ERROR % key
end

#write(key, data) ⇒ Object

Raises:



19
20
21
# File 'lib/asset_cloud/buckets/invalid_bucket.rb', line 19

def write(key, data)
  raise InvalidBucketError, ERROR % key
end