Class: HockeyApp::AndroidAppUrls
- Inherits:
-
Object
- Object
- HockeyApp::AndroidAppUrls
- Defined in:
- lib/hockeyapp/services/android_urls.rb
Instance Method Summary collapse
- #direct_download_url ⇒ Object
-
#initialize(app) ⇒ AndroidAppUrls
constructor
A new instance of AndroidAppUrls.
- #install_url ⇒ Object
Constructor Details
#initialize(app) ⇒ AndroidAppUrls
Returns a new instance of AndroidAppUrls.
3 4 5 |
# File 'lib/hockeyapp/services/android_urls.rb', line 3 def initialize app @app=app end |
Instance Method Details
#direct_download_url ⇒ Object
7 8 9 |
# File 'lib/hockeyapp/services/android_urls.rb', line 7 def direct_download_url "https://rink.hockeyapp.net/api/2/apps/#{@app.public_identifier}?format=apk" end |
#install_url ⇒ Object
11 12 13 |
# File 'lib/hockeyapp/services/android_urls.rb', line 11 def install_url direct_download_url end |