Class: AppActiveBuild

Inherits:
Object
  • Object
show all
Includes:
App47CdnUrl, Mongoid::Document, Mongoid::Timestamps
Defined in:
lib/models/app_active_build.rb

Overview

Holds the active build for a given app

Instance Method Summary collapse

Methods included from App47CdnUrl

#method_missing, #respond_to?, #respond_to_missing?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class App47CdnUrl

Instance Method Details

#display_versionObject

Return the selected tracking version



27
28
29
30
31
# File 'lib/models/app_active_build.rb', line 27

def display_version
  send(app.tracked_version(platform)) || version
rescue StandardError
  version
end