Exception: Cliaws::S3::UnknownBucket

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/cliaws/s3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (readonly)

Returns the value of attribute bucket_name.



117
118
119
# File 'lib/cliaws/s3.rb', line 117

def bucket_name
  @bucket_name
end