module S3Config
Constants
- VERSION
Attributes
adapter[W]
application[W]
Public Instance Methods
adapter()
click to toggle source
# File lib/s3_config.rb, line 15 def adapter @adapter ||= S3Config::Application end
application()
click to toggle source
# File lib/s3_config.rb, line 19 def application @application ||= adapter.new end
env()
click to toggle source
# File lib/s3_config.rb, line 11 def env S3Config::ENV end
load()
click to toggle source
# File lib/s3_config.rb, line 23 def load application.load end
require_keys(*keys)
click to toggle source
# File lib/s3_config.rb, line 27 def require_keys(*keys) missing_keys = keys.flatten - ::ENV.keys raise MissingKeys.new(missing_keys) if missing_keys.any? end