Class: HockeyApp::AndroidAppUrls

Inherits:
Object
  • Object
show all
Defined in:
lib/hockeyapp/services/android_urls.rb

Instance Method Summary collapse

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_urlObject



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_urlObject



11
12
13
# File 'lib/hockeyapp/services/android_urls.rb', line 11

def install_url
  direct_download_url
end