Class: Spaceship::Tunes::AppVersionPromocodes
- 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
- #app_id ⇒ Object readonly
-
#app_name ⇒ Object
readonly
Returns the value of attribute app_name.
-
#contract_file_name ⇒ Object
readonly
Returns the value of attribute contract_file_name.
-
#maximum_number_of_codes ⇒ Object
readonly
Returns the value of attribute maximum_number_of_codes.
-
#number_of_codes ⇒ Object
readonly
Returns the value of attribute number_of_codes.
-
#platform ⇒ Object
readonly
Returns the value of attribute platform.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Attributes inherited from Base
Method Summary
Methods inherited from TunesBase
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_id ⇒ Object (readonly)
8 9 10 |
# File 'spaceship/lib/spaceship/tunes/app_version_promocodes.rb', line 8 def app_id @app_id end |
#app_name ⇒ Object (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_name ⇒ Object (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_codes ⇒ Object (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_codes ⇒ Object (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 |
#platform ⇒ Object (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 |
#version ⇒ Object (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 |