Class: Itunes::Transporter::IAPFamilyReviewImage
- Inherits:
-
Struct
- Object
- Struct
- Itunes::Transporter::IAPFamilyReviewImage
- Includes:
- MetadataImage
- Defined in:
- lib/itunes/transporter.rb
Instance Attribute Summary collapse
-
#file_name ⇒ Object
Returns the value of attribute file_name.
-
#name ⇒ Object
Returns the value of attribute name.
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
145 146 147 |
# File 'lib/itunes/transporter.rb', line 145 def file_name @file_name end |
#name ⇒ Object
Returns the value of attribute name
145 146 147 |
# File 'lib/itunes/transporter.rb', line 145 def name @name end |
Instance Method Details
#normalized_filename(include_prefix) ⇒ Object
152 153 154 155 156 157 158 |
# File 'lib/itunes/transporter.rb', line 152 def normalized_filename(include_prefix) if include_prefix "iap_#{friendly_filename(name)}_#{normalized_source_filename}" else "#{normalized_source_filename}" end end |
#to_s ⇒ Object
148 149 150 |
# File 'lib/itunes/transporter.rb', line 148 def to_s "iap #{self.name} - #{self.file_name}" end |