Class: Itunes::Transporter::IAPReviewImage
- Inherits:
-
Struct
- Object
- Struct
- Itunes::Transporter::IAPReviewImage
- Includes:
- MetadataImage
- Defined in:
- lib/itunes/transporter.rb
Instance Attribute Summary collapse
-
#file_name ⇒ Object
Returns the value of attribute file_name.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Methods included from MetadataImage
#friendly_filename, #normalized_source_filename
Instance Attribute Details
#file_name ⇒ Object
Returns the value of attribute file_name
129 130 131 |
# File 'lib/itunes/transporter.rb', line 129 def file_name @file_name end |
#id ⇒ Object
Returns the value of attribute id
129 130 131 |
# File 'lib/itunes/transporter.rb', line 129 def id @id end |
Instance Method Details
#normalized_filename(include_prefix) ⇒ Object
136 137 138 139 140 141 142 |
# File 'lib/itunes/transporter.rb', line 136 def normalized_filename(include_prefix) if include_prefix "iap_#{friendly_filename(id)}_#{normalized_source_filename}" else "#{normalized_source_filename}" end end |
#to_s ⇒ Object
132 133 134 |
# File 'lib/itunes/transporter.rb', line 132 def to_s "iap #{self.id} - #{self.file_name}" end |