Class: Middleman::S3Metadata::Options
- Inherits:
-
Struct
- Object
- Struct
- Middleman::S3Metadata::Options
- Defined in:
- lib/middleman/s3_metadata/extension.rb
Defined Under Namespace
Classes: Metadata
Instance Attribute Summary collapse
-
#after_build ⇒ Object
Returns the value of attribute after_build.
-
#aws_access_key_id ⇒ Object
Returns the value of attribute aws_access_key_id.
-
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key.
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#public_path ⇒ Object
Returns the value of attribute public_path.
-
#region ⇒ Object
Returns the value of attribute region.
Instance Method Summary collapse
-
#mappings ⇒ Object
Returns an array.
-
#s3_metadata(object, key, value) ⇒ Object
object - String key for S3 object.
Instance Attribute Details
#after_build ⇒ Object
Returns the value of attribute after_build
6 7 8 |
# File 'lib/middleman/s3_metadata/extension.rb', line 6 def after_build @after_build end |
#aws_access_key_id ⇒ Object
Returns the value of attribute aws_access_key_id
6 7 8 |
# File 'lib/middleman/s3_metadata/extension.rb', line 6 def aws_access_key_id @aws_access_key_id end |
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key
6 7 8 |
# File 'lib/middleman/s3_metadata/extension.rb', line 6 def aws_secret_access_key @aws_secret_access_key end |
#bucket ⇒ Object
Returns the value of attribute bucket
6 7 8 |
# File 'lib/middleman/s3_metadata/extension.rb', line 6 def bucket @bucket end |
#prefix ⇒ Object
Returns the value of attribute prefix
6 7 8 |
# File 'lib/middleman/s3_metadata/extension.rb', line 6 def prefix @prefix end |
#public_path ⇒ Object
Returns the value of attribute public_path
6 7 8 |
# File 'lib/middleman/s3_metadata/extension.rb', line 6 def public_path @public_path end |
#region ⇒ Object
Returns the value of attribute region
6 7 8 |
# File 'lib/middleman/s3_metadata/extension.rb', line 6 def region @region end |
Instance Method Details
#mappings ⇒ Object
Returns an array
15 16 17 |
# File 'lib/middleman/s3_metadata/extension.rb', line 15 def mappings @mappings ||= [] end |