Class: Spaceship::Tunes::AppTrailer
- Defined in:
- spaceship/lib/spaceship/tunes/app_trailer.rb
Overview
Represents a preview video hosted on iTunes Connect. Used for icons, screenshots, etc
Instance Attribute Summary collapse
-
#descriptionXML ⇒ Object
Returns the value of attribute descriptionXML.
-
#device_type ⇒ Object
Returns the value of attribute device_type.
-
#full_sized_preview_image_url ⇒ Object
Returns the value of attribute full_sized_preview_image_url.
-
#language ⇒ Object
Returns the value of attribute language.
-
#picture_asset_token ⇒ Object
Returns the value of attribute picture_asset_token.
-
#preview_frame_time_code ⇒ Object
Returns the value of attribute preview_frame_time_code.
-
#preview_image_url ⇒ Object
Returns the value of attribute preview_image_url.
-
#video_asset_token ⇒ Object
Returns the value of attribute video_asset_token.
-
#video_url ⇒ Object
Returns the value of attribute video_url.
Attributes inherited from Base
Instance Method Summary collapse
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
#descriptionXML ⇒ Object
Returns the value of attribute descriptionXML.
11 12 13 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 11 def descriptionXML @descriptionXML end |
#device_type ⇒ Object
Returns the value of attribute device_type.
21 22 23 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 21 def device_type @device_type end |
#full_sized_preview_image_url ⇒ Object
Returns the value of attribute full_sized_preview_image_url.
19 20 21 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 19 def full_sized_preview_image_url @full_sized_preview_image_url end |
#language ⇒ Object
Returns the value of attribute language.
23 24 25 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 23 def language @language end |
#picture_asset_token ⇒ Object
Returns the value of attribute picture_asset_token.
9 10 11 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 9 def picture_asset_token @picture_asset_token end |
#preview_frame_time_code ⇒ Object
Returns the value of attribute preview_frame_time_code.
13 14 15 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 13 def preview_frame_time_code @preview_frame_time_code end |
#preview_image_url ⇒ Object
Returns the value of attribute preview_image_url.
17 18 19 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 17 def preview_image_url @preview_image_url end |
#video_asset_token ⇒ Object
Returns the value of attribute video_asset_token.
7 8 9 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 7 def video_asset_token @video_asset_token end |
#video_url ⇒ Object
Returns the value of attribute video_url.
15 16 17 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 15 def video_url @video_url end |
Instance Method Details
#reset!(attrs = {}) ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'spaceship/lib/spaceship/tunes/app_trailer.rb', line 38 def reset!(attrs = {}) update_raw_data!({ video_asset_token: nil, picture_asset_token: nil, descriptionXML: nil, preview_frame_time_code: nil, is_portrait: nil, video_url: nil, preview_image_url: nil, full_sized_preview_image_url: nil, content_type: nil, video_status: nil, device_type: nil, language: nil }.merge(attrs)) end |