Class: AppActiveBuild
- Inherits:
-
Object
- Object
- AppActiveBuild
- 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
-
#display_version ⇒ Object
Return the selected tracking version.
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_version ⇒ Object
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 |