Class: Feedjira::Podcast::Channel::AppleSubcategory
- Inherits:
-
Object
- Object
- Feedjira::Podcast::Channel::AppleSubcategory
- Includes:
- FeedUtilities, SAXMachine
- Defined in:
- lib/feedjira/podcast/channel/apple_subcategory.rb
Instance Method Summary collapse
Instance Method Details
#valid?(category) ⇒ Boolean
10 11 12 |
# File 'lib/feedjira/podcast/channel/apple_subcategory.rb', line 10 def valid?(category) AppleCategory::CATEGORIES[category.text].include?(text) end |