Class: Spaceship::Tunes::AppVersionHistory
- Defined in:
- spaceship/lib/spaceship/tunes/app_version_history.rb
Overview
Represents a read only version of an App Store Connect Versions State History
Instance Attribute Summary collapse
-
#application ⇒ Spaceship::Tunes::Application
A reference to the application this version is for.
-
#items ⇒ Object
readonly
Returns an array of all builds that can be sent to review.
-
#version_id ⇒ String
readonly
The platform value of this version.
-
#version_string ⇒ String
readonly
The version in string format (e.g. “1.0”).
Attributes inherited from Base
Instance Method Summary collapse
-
#setup ⇒ Object
Private methods.
Methods inherited from TunesBase
Methods inherited from Base
attr_accessor, attr_mapping, attributes, #attributes, factory, #initialize, #inspect, mapping_module, method_missing, set_client, #to_s
Constructor Details
This class inherits a constructor from Spaceship::Base
Instance Attribute Details
#application ⇒ Spaceship::Tunes::Application
Returns A reference to the application this version is for.
9 10 11 |
# File 'spaceship/lib/spaceship/tunes/app_version_history.rb', line 9 def application @application end |
#items ⇒ Object (readonly)
Returns an array of all builds that can be sent to review
18 19 20 |
# File 'spaceship/lib/spaceship/tunes/app_version_history.rb', line 18 def items @items end |
#version_id ⇒ String (readonly)
Returns The platform value of this version.
15 16 17 |
# File 'spaceship/lib/spaceship/tunes/app_version_history.rb', line 15 def version_id @version_id end |
#version_string ⇒ String (readonly)
Returns The version in string format (e.g. “1.0”).
12 13 14 |
# File 'spaceship/lib/spaceship/tunes/app_version_history.rb', line 12 def version_string @version_string end |
Instance Method Details
#setup ⇒ Object
Private methods
32 33 34 35 36 |
# File 'spaceship/lib/spaceship/tunes/app_version_history.rb', line 32 def setup # Properly parse the AppStatus items = raw_data['items'] @items = map_items(items) if items end |