Exception: Cliaws::S3::UnknownBucket
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Cliaws::S3::UnknownBucket
- Defined in:
- lib/cliaws/s3.rb
Instance Attribute Summary collapse
-
#bucket_name ⇒ Object
readonly
Returns the value of attribute bucket_name.
Instance Method Summary collapse
-
#initialize(bucket_name) ⇒ UnknownBucket
constructor
A new instance of UnknownBucket.
Constructor Details
#initialize(bucket_name) ⇒ UnknownBucket
Returns a new instance of UnknownBucket.
119 120 121 122 |
# File 'lib/cliaws/s3.rb', line 119 def initialize(bucket_name) super("Bucket #{bucket_name.inspect} could not be found") @bucket_name = bucket_name end |
Instance Attribute Details
#bucket_name ⇒ Object (readonly)
Returns the value of attribute bucket_name.
117 118 119 |
# File 'lib/cliaws/s3.rb', line 117 def bucket_name @bucket_name end |