Class: Bosh::Director::Core::Templates::RenderedTemplatesArchive

Inherits:
Object
  • Object
show all
Defined in:
lib/bosh/director/core/templates/rendered_templates_archive.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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

#sha1Object (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

#specObject



12
13
14
# File 'lib/bosh/director/core/templates/rendered_templates_archive.rb', line 12

def spec
  { 'blobstore_id' => @blobstore_id, 'sha1' => @sha1 }
end