spaceship/lib/spaceship/tunes/iap_family_details.rb in fastlane-2.132.0.beta.20190921200021 vs spaceship/lib/spaceship/tunes/iap_family_details.rb in fastlane-2.132.0.beta.20190922200014
- old
+ new
@@ -7,15 +7,23 @@
attr_accessor :application
# @return (String) the family name
attr_accessor :name
- # @return (Intger) the Family Id
+ # @return (Intger) the family id
attr_accessor :family_id
+ # @return (Array) all linked in-app purchases of this family
+ attr_accessor :linked_iaps
+
+ # @return (Intger) amount of linked in-app purchases of this family (read-only)
+ attr_accessor :iap_count
+
attr_mapping({
'id' => :family_id,
- 'name.value' => :name
+ 'name.value' => :name,
+ 'activeAddOns' => :linked_iaps,
+ 'totalActiveAddOns' => :iap_count
})
def versions=(value = {})
if value.kind_of?(Array)
# input that comes from iTC api