Class: HockeyApp::IOSAppUrls

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

Instance Method Summary collapse

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_urlObject



10
11
12
# File 'lib/hockeyapp/services/ios_urls.rb', line 10

def direct_download_url
  @app.last_version.direct_download_url
end

#download_urlObject



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_urlObject



14
15
16
# File 'lib/hockeyapp/services/ios_urls.rb', line 14

def install_url
  @app.last_version.install_url
end