Sha256: b7abc252185b32d76fbefa3bf751f42c5e7029b3413c0b4e076e6aae3d8530a5

Contents?: true

Size: 742 Bytes

Versions: 661

Compression:

Stored size: 742 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

661 entries across 661 versions & 5 rubygems

Version Path
fastlane-2.120.0 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190409200021 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190408200017 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190407200059 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190406200021 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190405200012 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190404200009 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190403200039 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190402200013 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190401200056 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190331200023 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190330200100 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190329200012 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190328200010 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190327200117 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190326200014 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.120.0.beta.20190325200020 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.119.0 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.119.0.beta.20190324200014 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb
fastlane-2.119.0.beta.20190323200019 spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb