Class: Spaceship::Tunes::VersionSet
- Defined in:
- lib/spaceship/tunes/version_set.rb
Overview
Represents a version set inside of an application
General metadata collapse
-
#application ⇒ Spaceship::Tunes::Application
A reference to the application the version_set is contained in.
- #platform ⇒ String
-
#type ⇒ String
The type of the version set.
Attributes inherited from Base
General metadata collapse
-
.factory(attrs) ⇒ Object
Create a new object based on a hash.
Methods inherited from TunesBase
Methods inherited from Base
attr_accessor, attr_mapping, #attributes, attributes, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #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 the version_set is contained in.
13 14 15 |
# File 'lib/spaceship/tunes/version_set.rb', line 13 def application @application end |
#platform ⇒ String
16 17 18 |
# File 'lib/spaceship/tunes/version_set.rb', line 16 def platform @platform end |
#type ⇒ String
Returns The type of the version set. So far only APP.
10 11 12 |
# File 'lib/spaceship/tunes/version_set.rb', line 10 def type @type end |
Class Method Details
.factory(attrs) ⇒ Object
Create a new object based on a hash. This is used to create a new object based on the server response.
26 27 28 |
# File 'lib/spaceship/tunes/version_set.rb', line 26 def factory(attrs) self.new(attrs) end |