Class: Passifier::Manifest
- Inherits:
-
Object
- Object
- Passifier::Manifest
- Defined in:
- lib/passifier/manifest.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
(also: #to_hash)
readonly
Returns the value of attribute hash.
Instance Method Summary collapse
- #content ⇒ Object
- #filename ⇒ Object
-
#initialize(asset_files, signing) ⇒ Manifest
constructor
A new instance of Manifest.
Constructor Details
#initialize(asset_files, signing) ⇒ Manifest
Returns a new instance of Manifest.
12 13 14 15 |
# File 'lib/passifier/manifest.rb', line 12 def initialize(asset_files, signing) @asset_files = asset_files populate_content(signing) end |
Instance Attribute Details
#hash ⇒ Object (readonly) Also known as: to_hash
Returns the value of attribute hash.
7 8 9 |
# File 'lib/passifier/manifest.rb', line 7 def hash @hash end |
Instance Method Details
#content ⇒ Object
21 22 23 |
# File 'lib/passifier/manifest.rb', line 21 def content to_hash.to_json end |
#filename ⇒ Object
17 18 19 |
# File 'lib/passifier/manifest.rb', line 17 def filename "manifest.json" end |