Class: CfFactory::CfEbApplicationVersion
- Inherits:
-
Object
- Object
- CfFactory::CfEbApplicationVersion
- Includes:
- CfInner
- Defined in:
- lib/cf_factory/eb/cf_eb_application_version.rb
Instance Method Summary collapse
- #get_cf_attributes ⇒ Object
-
#initialize(description, source_bundle_bucket, source_bundle_key, version_label) ⇒ CfEbApplicationVersion
constructor
A new instance of CfEbApplicationVersion.
Methods included from CfInner
#additional_indent, #generate, #generate_name, #hash_to_string, #set_quotes
Constructor Details
#initialize(description, source_bundle_bucket, source_bundle_key, version_label) ⇒ CfEbApplicationVersion
Returns a new instance of CfEbApplicationVersion.
8 9 10 11 12 13 14 15 |
# File 'lib/cf_factory/eb/cf_eb_application_version.rb', line 8 def initialize(description, source_bundle_bucket, source_bundle_key, version_label) @description = description @source_bundle_bucket = source_bundle_bucket @source_bundle_key = source_bundle_key @version_label = version_label end |
Instance Method Details
#get_cf_attributes ⇒ Object
17 18 19 20 21 |
# File 'lib/cf_factory/eb/cf_eb_application_version.rb', line 17 def get_cf_attributes { "Description" => @description, "SourceBundle" => { "S3Bucket" => @source_bundle_bucket, "S3Key" => @source_bundle_key }, "VersionLabel" => @version_label } end |