Sha256: 2ed81cd4bcfd3e55a8d0a7f68f35ef084bc02e44dc51fc18f9402fc261dd26ba

Contents?: true

Size: 712 Bytes

Versions: 650

Compression:

Stored size: 712 Bytes

Contents

require_relative 'iap_family_details'

module Spaceship
  module Tunes
    class IAPFamilyList < TunesBase
      # @return (Spaceship::Tunes::Application) A reference to the application
      attr_accessor :application

      # @return (String) the family name
      attr_accessor :name

      # @return (Intger) the Family Id
      attr_accessor :family_id

      attr_mapping({
        'id' => :family_id,
        'name.value' => :name
      })

      # return a editable family object
      def edit
        attrs = client.load_iap_family(app_id: application.apple_id, family_id: self.family_id)
        attrs[:application] = application
        Tunes::IAPFamilyDetails.new(attrs)
      end
    end
  end
end

Version data entries

650 entries across 650 versions & 5 rubygems

Version Path
fastlane-security-patched-2.216.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.217.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.216.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.215.1 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.215.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-mercafacil-2.214.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.214.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.213.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.212.2 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane_pricing_fix-2.212.1 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.212.1 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.212.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.211.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.210.1 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.210.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.209.1 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.209.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.208.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.207.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.206.2 spaceship/lib/spaceship/tunes/iap_family_list.rb