Module: Jets::Event::S3
Constant Summary collapse
- @@registry =
{}
Instance Method Summary collapse
Instance Method Details
#any? ⇒ Boolean
10 11 12 |
# File 'lib/jets/event/s3.rb', line 10 def any? !@@registry.empty? end |
#create_s3_event_buckets ⇒ Object
14 15 16 17 18 19 |
# File 'lib/jets/event/s3.rb', line 14 def create_s3_event_buckets buckets = @@registry.keys buckets.each do |bucket| Jets::AwsServices::S3Bucket.ensure_exists(bucket) end end |