Class: Bosh::Director::DeploymentPlan::RenderedTemplatesArchive
- Defined in:
- lib/bosh/director/deployment_plan/rendered_templates_archive.rb
Instance Attribute Summary collapse
-
#blobstore_id ⇒ Object
readonly
Returns the value of attribute blobstore_id.
-
#sha1 ⇒ Object
readonly
Returns the value of attribute sha1.
Instance Method Summary collapse
-
#initialize(blobstore_id, sha1) ⇒ RenderedTemplatesArchive
constructor
A new instance of RenderedTemplatesArchive.
- #spec ⇒ Object
Constructor Details
#initialize(blobstore_id, sha1) ⇒ RenderedTemplatesArchive
Returns a new instance of RenderedTemplatesArchive.
5 6 7 8 |
# File 'lib/bosh/director/deployment_plan/rendered_templates_archive.rb', line 5 def initialize(blobstore_id, sha1) @blobstore_id = blobstore_id @sha1 = sha1 end |
Instance Attribute Details
#blobstore_id ⇒ Object (readonly)
Returns the value of attribute blobstore_id.
3 4 5 |
# File 'lib/bosh/director/deployment_plan/rendered_templates_archive.rb', line 3 def blobstore_id @blobstore_id end |
#sha1 ⇒ Object (readonly)
Returns the value of attribute sha1.
3 4 5 |
# File 'lib/bosh/director/deployment_plan/rendered_templates_archive.rb', line 3 def sha1 @sha1 end |
Instance Method Details
#spec ⇒ Object
10 11 12 |
# File 'lib/bosh/director/deployment_plan/rendered_templates_archive.rb', line 10 def spec { 'blobstore_id' => @blobstore_id, 'sha1' => @sha1 } end |