spaceship/lib/spaceship/tunes/iap.rb in fastlane-2.51.0.beta.20170805010003 vs spaceship/lib/spaceship/tunes/iap.rb in fastlane-2.51.0.beta.20170806010003

- old
+ new

@@ -12,20 +12,14 @@ module Tunes class IAP < TunesBase # @return (Spaceship::Tunes::Application) A reference to the application attr_accessor :application - class << self - def factory(attrs) - return self.new(attrs) - end - end - # @return (Spaceship::Tunes::IAPFamilies) A reference to the familie list def families attrs = {} attrs[:application] = self.application - Tunes::IAPFamilies.factory(attrs) + Tunes::IAPFamilies.new(attrs) end # Creates a new In-App-Purchese on iTunes 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)