Sha256: 97d540ce6b66e25346949ceb0ce8433ff80c7bfacaf486ab0e97fbafa6422e1f

Contents?: true

Size: 789 Bytes

Versions: 3

Compression:

Stored size: 789 Bytes

Contents

require_relative 'tunes_base'

module Spaceship
  module Tunes
    # Represents the information about remaining number of promo codes for an app version
    class AppVersionPromocodes < TunesBase
      # @return
      attr_reader :app_id
      attr_reader :app_name
      attr_reader :version
      attr_reader :platform
      attr_reader :number_of_codes
      attr_reader :maximum_number_of_codes
      attr_reader :contract_file_name

      attr_mapping({
        'id' => :app_id,
        'appName' => :app_name,
        'version' => :version,
        'platform' => :platform,
        'numberOfCodes' => :number_of_codes,
        'maximumNumberOfCodes' => :maximum_number_of_codes,
        'contractFileName' => :contract_file_name
      })
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 spaceship/lib/spaceship/tunes/app_version_promocodes.rb
fastlane_hotfix-2.165.0 spaceship/lib/spaceship/tunes/app_version_promocodes.rb
fastlane_hotfix-2.187.0 spaceship/lib/spaceship/tunes/app_version_promocodes.rb