Class: Vk::API::Groups::SubjectItem
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Groups::SubjectItem
- Defined in:
- lib/vk/api/groups/subject_item.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
Subject ID.
-
#name ⇒ String
Subject title.
Instance Method Details
permalink #id ⇒ Integer
Returns Subject ID.
11 |
# File 'lib/vk/api/groups/subject_item.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
permalink #name ⇒ String
Returns Subject title.
13 |
# File 'lib/vk/api/groups/subject_item.rb', line 13 attribute :name, API::Types::Coercible::String.optional.default(nil) |