Class: Vk::API::Notifications::Notification
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Notifications::Notification
- Defined in:
- lib/vk/api/notifications/notification.rb
Overview
Instance Method Summary collapse
-
#date ⇒ Integer
Date when the event has been occured.
- #feedback ⇒ API::Notifications::Feedback
- #parent ⇒ API::Wall::WallpostToId, ...
- #reply ⇒ API::Notifications::Reply
-
#type ⇒ String
Notification type.
Instance Method Details
#date ⇒ Integer
Returns Date when the event has been occured.
13 |
# File 'lib/vk/api/notifications/notification.rb', line 13 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#feedback ⇒ API::Notifications::Feedback
17 |
# File 'lib/vk/api/notifications/notification.rb', line 17 attribute :feedback, Dry::Types[API::Notifications::Feedback].optional.default(nil) |
#parent ⇒ API::Wall::WallpostToId, ...
15 |
# File 'lib/vk/api/notifications/notification.rb', line 15 attribute :parent, Dry::Types[API::Wall::WallpostToId] | Dry::Types[API::Photos::Photo] | Dry::Types[API::Board::Topic] | Dry::Types[API::Video::Video] | Dry::Types[API::Notifications::NotificationsComment].optional.default(nil) |
#reply ⇒ API::Notifications::Reply
19 |
# File 'lib/vk/api/notifications/notification.rb', line 19 attribute :reply, Dry::Types[API::Notifications::Reply].optional.default(nil) |