Class: Vk::API::Base::LikesInfo
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Base::LikesInfo
- Defined in:
- lib/vk/api/base/likes_info.rb
Overview
Instance Method Summary collapse
-
#can_like ⇒ Integer
Information whether current user can like the post.
-
#can_publish ⇒ Integer
Information whether current user can repost.
-
#count ⇒ Integer
Likes number.
-
#user_likes ⇒ Integer
Information whether current uer has liked the post.
Instance Method Details
#can_like ⇒ Integer
Returns Information whether current user can like the post.
15 |
# File 'lib/vk/api/base/likes_info.rb', line 15 attribute :can_like, API::Types::Coercible::Int |
#can_publish ⇒ Integer
Returns Information whether current user can repost.
17 |
# File 'lib/vk/api/base/likes_info.rb', line 17 attribute :can_publish, API::Types::Coercible::Int.optional.default(nil) |