Class: Itunes::Transporter::IAPFamilyReviewImage

Inherits:
Struct
  • Object
show all
Includes:
MetadataImage
Defined in:
lib/itunes/transporter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from MetadataImage

#friendly_filename, #normalized_source_filename

Instance Attribute Details

#file_nameObject

Returns the value of attribute file_name

Returns:

  • (Object)

    the current value of file_name



145
146
147
# File 'lib/itunes/transporter.rb', line 145

def file_name
  @file_name
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of 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_sObject



148
149
150
# File 'lib/itunes/transporter.rb', line 148

def to_s
  "iap #{self.name} - #{self.file_name}"
end