Class: S3Secure::PublicAccess::Unblock
- Defined in:
- lib/s3_secure/public_access/unblock.rb
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from CLI::Base
Methods included from CLI::Say
Methods included from AwsServices
Methods included from AwsServices::S3
#check_bucket!, #new_s3_regional_client, #region, #region_map, #s3, #s3_client, #s3_regional_client
Constructor Details
This class inherits a constructor from S3Secure::CLI::Base
Instance Method Details
#run ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/s3_secure/public_access/unblock.rb', line 3 def run resp = s3.delete_public_access_block( bucket: @bucket, ) say("Removed public access block configuration for bucket: #{@bucket}") resp end |