Class: Bosh::Director::Core::Templates::RenderedTemplatesArchive
- Inherits:
-
Object
- Object
- Bosh::Director::Core::Templates::RenderedTemplatesArchive
- Defined in:
- lib/bosh/director/core/templates/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.
7 8 9 10 |
# File 'lib/bosh/director/core/templates/rendered_templates_archive.rb', line 7 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.
5 6 7 |
# File 'lib/bosh/director/core/templates/rendered_templates_archive.rb', line 5 def blobstore_id @blobstore_id end |
#sha1 ⇒ Object (readonly)
Returns the value of attribute sha1.
5 6 7 |
# File 'lib/bosh/director/core/templates/rendered_templates_archive.rb', line 5 def sha1 @sha1 end |
Instance Method Details
#spec ⇒ Object
12 13 14 |
# File 'lib/bosh/director/core/templates/rendered_templates_archive.rb', line 12 def spec { 'blobstore_id' => @blobstore_id, 'sha1' => @sha1 } end |