Class: BucketClient::Bucket
- Inherits:
-
Object
- Object
- BucketClient::Bucket
- Defined in:
- lib/bucket_client/bucket.rb
Direct Known Subclasses
AWSBucket, AzureBucket, DigitalOceanBucket, GCPBucket, LocalBucket
Instance Method Summary collapse
-
#get_uri(key) ⇒ String
Obtains the URI of the blob from key of the blob Does not raise exception even if blob does not exist.
Methods included from KeyMethod
#create_blob, #create_blob!, #delete_blob, #delete_blob!, #delete_blob_if_exist, #delete_blob_if_exist!, #exist_blob, #get_blob, #get_blob!, #put_blob, #put_blob!, #update_blob, #update_blob!
Methods included from UriMethod
#delete_blob_if_exist_with_uri, #delete_blob_if_exist_with_uri!, #delete_blob_with_uri, #delete_blob_with_uri!, #exist_blob_with_uri, #get_blob_with_uri, #get_blob_with_uri!, #put_blob_with_uri, #put_blob_with_uri!, #update_blob_with_uri, #update_blob_with_uri!
Instance Method Details
#get_uri(key) ⇒ String
Obtains the URI of the blob from key of the blob Does not raise exception even if blob does not exist
uri = bucket.get_uri(“image.png”) #=> 
384 385 386 |
# File 'lib/bucket_client/bucket.rb', line 384 def get_uri(key) raise NotImplementedError key end |