Class: Spaceship::Tunes::AppScreenshot
- Defined in:
- lib/spaceship/tunes/app_screenshot.rb
Overview
Represents a screenshot hosted on iTunes Connect
Constant Summary
Constants inherited from AppImage
Spaceship::Tunes::AppImage::HOST_URL
Instance Attribute Summary collapse
-
#device_type ⇒ Object
Returns the value of attribute device_type.
-
#language ⇒ Object
Returns the value of attribute language.
Attributes inherited from AppImage
#asset_token, #original_file_name, #sort_order, #url
Attributes inherited from Base
Class Method Summary collapse
-
.factory(attrs) ⇒ Object
Create a new object based on a hash.
Methods inherited from AppImage
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
#device_type ⇒ Object
Returns the value of attribute device_type.
5 6 7 |
# File 'lib/spaceship/tunes/app_screenshot.rb', line 5 def device_type @device_type end |
#language ⇒ Object
Returns the value of attribute language.
7 8 9 |
# File 'lib/spaceship/tunes/app_screenshot.rb', line 7 def language @language end |
Class Method Details
.factory(attrs) ⇒ Object
Create a new object based on a hash.
11 12 13 |
# File 'lib/spaceship/tunes/app_screenshot.rb', line 11 def factory(attrs) self.new(attrs) end |