Class: S3Direct::Config
- Inherits:
-
Object
- Object
- S3Direct::Config
- Defined in:
- lib/s3direct.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#bucket_url ⇒ Object
Returns the value of attribute bucket_url.
- #default_acl ⇒ Object
- #max_upload_size ⇒ Object
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
23 24 25 |
# File 'lib/s3direct.rb', line 23 def access_key @access_key end |
#bucket ⇒ Object
Returns the value of attribute bucket.
21 22 23 |
# File 'lib/s3direct.rb', line 21 def bucket @bucket end |
#bucket_url ⇒ Object
Returns the value of attribute bucket_url.
22 23 24 |
# File 'lib/s3direct.rb', line 22 def bucket_url @bucket_url end |
#default_acl ⇒ Object
32 33 34 |
# File 'lib/s3direct.rb', line 32 def default_acl @default_acl ||= 'public-read' end |
#max_upload_size ⇒ Object
27 28 29 |
# File 'lib/s3direct.rb', line 27 def max_upload_size @max_upload_size ||= 1.gigabyte end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
24 25 26 |
# File 'lib/s3direct.rb', line 24 def secret_key @secret_key end |