class Spaceship::ConnectAPI::AppCategory
Constants
- LEGACY_CATEGORY_ITC_MAP
- LEGACY_SUBCATEGORY_ITC_MAP
Attributes
Public Class Methods
Source
# File spaceship/lib/spaceship/connect_api/models/app_category.rb, line 81 def self.map_category_from_itc(category) category = category.gsub("MZGenre.", "") return nil if category.empty? LEGACY_CATEGORY_ITC_MAP[category] || category end
Source
# File spaceship/lib/spaceship/connect_api/models/app_category.rb, line 87 def self.map_subcategory_from_itc(category) category = category.gsub("MZGenre.", "") return nil if category.empty? LEGACY_SUBCATEGORY_ITC_MAP[category] || category end
Source
# File spaceship/lib/spaceship/connect_api/models/app_category.rb, line 13 def self.type return "appCategories" end