Class: Vk::API::Base::Likes
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Base::Likes
- Defined in:
- lib/vk/api/base/likes.rb
Overview
Instance Method Summary collapse
-
#count ⇒ Integer
Likes number.
-
#user_likes ⇒ API::Base::BoolInt
Information whether current user likes the photo.
Instance Method Details
#count ⇒ Integer
Returns Likes number.
13 |
# File 'lib/vk/api/base/likes.rb', line 13 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#user_likes ⇒ API::Base::BoolInt
Returns Information whether current user likes the photo.
11 |
# File 'lib/vk/api/base/likes.rb', line 11 attribute :user_likes, API::Base::BoolInt.optional.default(nil) |