Sha256: fb76e48d31dfc3ef42c59214e4bfbc19fe67921f9a997435b5853fc9e53ea03a

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Base < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Likes < Vk::Schema::Object
        # @return [API::Base::BoolInt] Information whether current user likes the photo
        attribute :user_likes, API::Base::BoolInt.optional
        # @return [Integer] Likes number
        attribute :count, API::Types::Coercible::Int.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/base/likes.rb