Class: Spaceship::Tunes::AppVersionPromocodes

Inherits:
TunesBase show all
Defined in:
spaceship/lib/spaceship/tunes/app_version_promocodes.rb

Overview

Represents the information about remaining number of promo codes for an app version

Instance Attribute Summary collapse

Attributes inherited from Base

#client, #raw_data

Method Summary

Methods inherited from TunesBase

client

Methods inherited from Base

attr_accessor, attr_mapping, #attributes, attributes, factory, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s

Constructor Details

This class inherits a constructor from Spaceship::Base

Instance Attribute Details

#app_idObject (readonly)

Returns:


8
9
10
# File 'spaceship/lib/spaceship/tunes/app_version_promocodes.rb', line 8

def app_id
  @app_id
end

#app_nameObject (readonly)

Returns the value of attribute app_name


9
10
11
# File 'spaceship/lib/spaceship/tunes/app_version_promocodes.rb', line 9

def app_name
  @app_name
end

#contract_file_nameObject (readonly)

Returns the value of attribute contract_file_name


14
15
16
# File 'spaceship/lib/spaceship/tunes/app_version_promocodes.rb', line 14

def contract_file_name
  @contract_file_name
end

#maximum_number_of_codesObject (readonly)

Returns the value of attribute maximum_number_of_codes


13
14
15
# File 'spaceship/lib/spaceship/tunes/app_version_promocodes.rb', line 13

def maximum_number_of_codes
  @maximum_number_of_codes
end

#number_of_codesObject (readonly)

Returns the value of attribute number_of_codes


12
13
14
# File 'spaceship/lib/spaceship/tunes/app_version_promocodes.rb', line 12

def number_of_codes
  @number_of_codes
end

#platformObject (readonly)

Returns the value of attribute platform


11
12
13
# File 'spaceship/lib/spaceship/tunes/app_version_promocodes.rb', line 11

def platform
  @platform
end

#versionObject (readonly)

Returns the value of attribute version


10
11
12
# File 'spaceship/lib/spaceship/tunes/app_version_promocodes.rb', line 10

def version
  @version
end