Class: HockeyApp::IOSAppUrls
- Inherits:
-
Object
- Object
- HockeyApp::IOSAppUrls
- Defined in:
- lib/hockeyapp/services/ios_urls.rb
Instance Method Summary collapse
- #direct_download_url ⇒ Object
- #download_url ⇒ Object
-
#initialize(app) ⇒ IOSAppUrls
constructor
A new instance of IOSAppUrls.
- #install_url ⇒ Object
Constructor Details
#initialize(app) ⇒ IOSAppUrls
Returns a new instance of IOSAppUrls.
3 4 5 |
# File 'lib/hockeyapp/services/ios_urls.rb', line 3 def initialize app @app=app end |
Instance Method Details
#direct_download_url ⇒ Object
10 11 12 |
# File 'lib/hockeyapp/services/ios_urls.rb', line 10 def direct_download_url @app.last_version.direct_download_url end |
#download_url ⇒ Object
6 7 8 |
# File 'lib/hockeyapp/services/ios_urls.rb', line 6 def download_url "https://rink.hockeyapp.net/apps/#{@app.public_identifier}" end |
#install_url ⇒ Object
14 15 16 |
# File 'lib/hockeyapp/services/ios_urls.rb', line 14 def install_url @app.last_version.install_url end |