Sha256: 2deb46354c6eeea3db923192e4dff2dc8d655fed54a445e7a3ad06bafc106de1

Contents?: true

Size: 781 Bytes

Versions: 241

Compression:

Stored size: 781 Bytes

Contents

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
      })

      class << self
        def factory(attrs)
          return self.new(attrs)
        end
      end

      # 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.factory(attrs)
      end
    end
  end
end

Version data entries

241 entries across 241 versions & 1 rubygems

Version Path
fastlane-2.51.0.beta.20170805010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.51.0.beta.20170804010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.51.0.beta.20170803010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.50.1 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.51.0.beta.20170802010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.51.0.beta.20170801010002 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.50.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.50.0.beta.20170731010002 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.50.0.beta.20170730010002 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.50.0.beta.20170729010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.50.0.beta.20170728010002 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.50.0.beta.20170727010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.49.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.49.0.beta.20170726010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.49.0.beta.20170725010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.48.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.48.0.beta.20170724010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.48.0.beta.20170723010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.48.0.beta.20170722010002 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.48.0.beta.20170721010003 spaceship/lib/spaceship/tunes/iap_family_list.rb