Class: IPASend::Manifest
- Inherits:
-
Object
- Object
- IPASend::Manifest
- Defined in:
- lib/ipasend/manifest.rb
Instance Attribute Summary collapse
-
#application_public_url ⇒ Object
Returns the value of attribute application_public_url.
-
#ipa ⇒ Object
readonly
Returns the value of attribute ipa.
-
#large_image_public_url ⇒ Object
Returns the value of attribute large_image_public_url.
-
#small_image_public_url ⇒ Object
Returns the value of attribute small_image_public_url.
Instance Method Summary collapse
- #data ⇒ Object
-
#initialize(ipa) ⇒ Manifest
constructor
A new instance of Manifest.
Constructor Details
#initialize(ipa) ⇒ Manifest
Returns a new instance of Manifest.
9 10 11 |
# File 'lib/ipasend/manifest.rb', line 9 def initialize(ipa) @ipa = ipa end |
Instance Attribute Details
#application_public_url ⇒ Object
Returns the value of attribute application_public_url.
7 8 9 |
# File 'lib/ipasend/manifest.rb', line 7 def application_public_url @application_public_url end |
#ipa ⇒ Object (readonly)
Returns the value of attribute ipa.
6 7 8 |
# File 'lib/ipasend/manifest.rb', line 6 def ipa @ipa end |
#large_image_public_url ⇒ Object
Returns the value of attribute large_image_public_url.
7 8 9 |
# File 'lib/ipasend/manifest.rb', line 7 def large_image_public_url @large_image_public_url end |
#small_image_public_url ⇒ Object
Returns the value of attribute small_image_public_url.
7 8 9 |
# File 'lib/ipasend/manifest.rb', line 7 def small_image_public_url @small_image_public_url end |
Instance Method Details
#data ⇒ Object
13 14 15 16 |
# File 'lib/ipasend/manifest.rb', line 13 def data template = ERB.new(open(File.join(IPASend.template_dir, 'manifest.plist.erb')).read) StringIO.new(template.result(binding)) end |