Class: Spaceship::Tunes::AppScreenshot

Inherits:
AppImage show all
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

Attributes inherited from AppImage

#asset_token, #original_file_name, #sort_order, #url

Attributes inherited from Base

#client, #raw_data

Class Method Summary collapse

Methods inherited from AppImage

#reset!, #setup

Methods inherited from TunesBase

client

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_typeObject

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

#languageObject

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