lib/spaceship/tunes/app_details.rb in spaceship-0.11.2 vs lib/spaceship/tunes/app_details.rb in spaceship-0.11.3

- old
+ new

@@ -14,10 +14,13 @@ attr_reader :name # @return (Hash) A hash representing the privacy URL in all languages attr_reader :privacy_url + # @return (Hash) Some bla bla about privacy + attr_reader :apple_tv_privacy_policy + # Categories (e.g. MZGenre.Business) attr_accessor :primary_category attr_accessor :primary_first_sub_category @@ -52,10 +55,11 @@ # Prefill name, privacy url def unfold_languages { name: :name, - privacyPolicyUrl: :privacy_url + privacyPolicyUrl: :privacy_url, + privacyPolicy: :apple_tv_privacy_policy }.each do |json, attribute| instance_variable_set("@#{attribute}".to_sym, LanguageItem.new(json, languages)) end end