spaceship/lib/spaceship/tunes/iap.rb in fastlane-2.217.0 vs spaceship/lib/spaceship/tunes/iap.rb in fastlane-2.218.0
- old
+ new
@@ -13,18 +13,18 @@
module Tunes
class IAP < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
attr_accessor :application
- # @return (Spaceship::Tunes::IAPFamilies) A reference to the familie list
+ # @return (Spaceship::Tunes::IAPFamilies) A reference to the family list
def families
attrs = {}
attrs[:application] = self.application
Tunes::IAPFamilies.new(attrs)
end
- # Creates a new In-App-Purchese on App Store Connect
+ # Creates a new In-App-Purchase on App Store Connect
# if the In-App-Purchase already exists an exception is raised. Spaceship::TunesClient::ITunesConnectError
# @param type (String): The Type of the in-app-purchase (Spaceship::Tunes::IAPType::CONSUMABLE,Spaceship::Tunes::IAPType::NON_CONSUMABLE,Spaceship::Tunes::IAPType::RECURRING,Spaceship::Tunes::IAPType::NON_RENEW_SUBSCRIPTION)
# @param versions (Hash): a Hash of the languages
# @example: {
# 'de-DE': {
@@ -47,10 +47,10 @@
# begin_date: nil,
# end_date: nil,
# tier: 1
# }
# ]
- # @param family_id (String) Only used on RECURRING purchases, assigns the In-App-Purchase to a specific familie
+ # @param family_id (String) Only used on RECURRING purchases, assigns the In-App-Purchase to a specific family
# @param subscription_free_trial (String) Free Trial duration (1w,1m,3m....)
# @param subscription_duration (String) 1w,1m.....
# @param subscription_price_target (Hash) Only used on RECURRING purchases, used to set the
# price of all the countries to be roughly the same as the price calculated from the price
# tier and currency given as input.