Method: S3Secure::Policy::Show#run
- Defined in:
- lib/s3_secure/policy/show.rb
#run ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/s3_secure/policy/show.rb', line 3 def run if policy puts "Bucket #{@bucket} is configured with this policy:" puts policy # puts policy.map(&:to_h) else puts "Bucket #{@bucket} is not configured bucket policy" end end |