Class: Vk::API::Groups::GroupCategory
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Groups::GroupCategory
- Defined in:
- lib/vk/api/groups/group_category.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
Category ID.
-
#name ⇒ String
Category name.
- #subcategories ⇒ Array
Instance Method Details
#id ⇒ Integer
Returns Category ID.
11 |
# File 'lib/vk/api/groups/group_category.rb', line 11 attribute :id, API::Types::Coercible::Int |
#name ⇒ String
Returns Category name.
13 |
# File 'lib/vk/api/groups/group_category.rb', line 13 attribute :name, API::Types::Coercible::String |