Class: Passifier::ManifestSignature

Inherits:
Object
  • Object
show all
Defined in:
lib/passifier/manifest_signature.rb

Overview

Represents the signing of the manifest file aka “signature” file in the archive

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(manifest, signing) ⇒ ManifestSignature

Returns a new instance of ManifestSignature.

Parameters:



11
12
13
14
# File 'lib/passifier/manifest_signature.rb', line 11

def initialize(manifest, signing)
  @manifest = manifest
  populate_content(signing)
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



8
9
10
# File 'lib/passifier/manifest_signature.rb', line 8

def content
  @content
end

#manifestObject (readonly)

Returns the value of attribute manifest.



8
9
10
# File 'lib/passifier/manifest_signature.rb', line 8

def manifest
  @manifest
end

Instance Method Details

#filenameObject



16
17
18
# File 'lib/passifier/manifest_signature.rb', line 16

def filename
  "signature"
end