module DefraRuby::Aws
Constants
- VERSION
Attributes
configuration[RW]
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/defra_ruby/aws.rb, line 17 def configure require "aws-sdk-s3" self.configuration ||= Configuration.new yield(configuration) end
get_bucket(bucket_name)
click to toggle source
# File lib/defra_ruby/aws.rb, line 24 def get_bucket(bucket_name) configuration.buckets.select do |bucket| bucket.bucket_name == bucket_name end.first end