lib/spaceship/tunes/app_version.rb in spaceship-0.18.1 vs lib/spaceship/tunes/app_version.rb in spaceship-0.19.0
- old
+ new
@@ -6,10 +6,13 @@
class AppVersion < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
# this version is for
attr_accessor :application
+ # @return (String) The platform value of this version.
+ attr_accessor :platform
+
# @return (String) The version number of this version
attr_accessor :version
# @return (String) The copyright information of this app
attr_accessor :copyright
@@ -112,9 +115,10 @@
# @return (Hash) Represents the trailers of this app version (read-only)
attr_reader :trailers
attr_mapping({
'appType' => :app_type,
+ 'platform' => :platform,
'canBetaTest' => :can_beta_test,
'canPrepareForUpload' => :can_prepare_for_upload,
'canRejectVersion' => :can_reject_version,
'canSendVersionLive' => :can_send_version_live,
'copyright.value' => :copyright,