Class: Distribuo::App

Inherits:
ApplicationRecord show all
Defined in:
app/models/distribuo/app.rb

Constant Summary collapse

OPERATING_SYSTEMS =
[
  %w[iOS ios],
  %w[Android android],
  %w[Windows windows],
  %w[MacOS macos],
  %w[tvOS tvos]
].freeze
RELEASE_TYPES =
%w[alpha beta enterprise production store].freeze

Instance Method Summary collapse

Instance Method Details

#latest_releaseObject



20
21
22
# File 'app/models/distribuo/app.rb', line 20

def latest_release
  releases.first
end