Method: Spaceship::ConnectAPI::AgeRatingDeclaration.map_key_from_itc

Defined in:
spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb

.map_key_from_itc(key) ⇒ Object



86
87
88
89
90
# File 'spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb', line 86

def self.map_key_from_itc(key)
  key = key.gsub("MZGenre.", "")
  return nil if key.empty?
  LEGACY_AGE_RATING_ITC_MAP[key] || key
end