Class: Torznab::Client::Caps::Category

Inherits:
Object
  • Object
show all
Defined in:
lib/torznab/client/caps/category.rb

Overview

Category of the caps

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id


9
10
11
# File 'lib/torznab/client/caps/category.rb', line 9

def id
  @id
end

#nameObject

Returns the value of attribute name


10
11
12
# File 'lib/torznab/client/caps/category.rb', line 10

def name
  @name
end

#subcategoriesObject

Returns the value of attribute subcategories


11
12
13
# File 'lib/torznab/client/caps/category.rb', line 11

def subcategories
  @subcategories
end