Class: Passifier::ManifestSignature
- Inherits:
-
Object
- Object
- Passifier::ManifestSignature
- 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
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#manifest ⇒ Object
readonly
Returns the value of attribute manifest.
Instance Method Summary collapse
- #filename ⇒ Object
-
#initialize(manifest, signing) ⇒ ManifestSignature
constructor
A new instance of ManifestSignature.
Constructor Details
#initialize(manifest, signing) ⇒ ManifestSignature
Returns a new instance of ManifestSignature.
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
#content ⇒ Object (readonly)
Returns the value of attribute content.
8 9 10 |
# File 'lib/passifier/manifest_signature.rb', line 8 def content @content end |
#manifest ⇒ Object (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
#filename ⇒ Object
16 17 18 |
# File 'lib/passifier/manifest_signature.rb', line 16 def filename "signature" end |