Sha256: 73791768f838249becfb5c5952fe9fc115fc67185b9c199690328b77350820f4

Contents?: true

Size: 674 Bytes

Versions: 193

Compression:

Stored size: 674 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
      })

      # 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

193 entries across 193 versions & 1 rubygems

Version Path
fastlane-2.63.0.beta.20171021010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.63.0.beta.20171020010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.63.0.beta.20171019010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.63.0.beta.20171018010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.62.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.62.0.beta.20171017010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.62.0.beta.20171016010004 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.62.0.beta.20171015010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.62.0.beta.20171014010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.62.0.beta.20171011010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.62.0.beta.20171010010004 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.61.0 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.61.0.beta.20171009010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.61.0.beta.20171008010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.61.0.beta.20171007010004 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.61.0.beta.20171006010004 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.61.0.beta.20171005010003 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.61.0.beta.20171004010004 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.60.1 spaceship/lib/spaceship/tunes/iap_family_list.rb
fastlane-2.60.0 spaceship/lib/spaceship/tunes/iap_family_list.rb