Sha256: 081d8ae66a8540ff4a144d34884f5183115d2de6c660a07b5f409014f7b5f9f4

Contents?: true

Size: 770 Bytes

Versions: 3

Compression:

Stored size: 770 Bytes

Contents

require_relative 'app_version_promocodes'

module Spaceship
  module Tunes
    # Represents the information about the generation of promocodes
    class AppVersionGeneratedPromocodes < TunesBase
      # @return
      attr_reader :effective_date
      attr_reader :expiration_date
      attr_reader :username
      # the AppVersionPromocodes this relates to
      attr_reader :version
      # Array of String
      attr_reader :codes

      attr_mapping({
        'effectiveDate' => :effective_date,
        'expirationDate' => :expiration_date,
        'username' => :username
      })

      def setup
        @version = Tunes::AppVersionPromocodes.factory(raw_data['version'])
        @codes = raw_data['codes']
      end
    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_generated_promocodes.rb
fastlane_hotfix-2.165.0 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane_hotfix-2.187.0 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb