Class: HasBucket::S3Config
- Inherits:
-
URIConfig::Config
- Object
- URIConfig::Config
- HasBucket::S3Config
- Defined in:
- lib/has_bucket/s3_config.rb
Instance Method Summary collapse
Instance Method Details
#bucket ⇒ Object
8 9 10 |
# File 'lib/has_bucket/s3_config.rb', line 8 def bucket path[1..-1] end |
#use_ssl ⇒ Object
12 13 14 |
# File 'lib/has_bucket/s3_config.rb', line 12 def use_ssl uri.scheme == "https" end |