Sha256: f42ec917f67957feb4f228503c5a1059c6e87ee7305d28862cb137683ea1326b

Contents?: true

Size: 688 Bytes

Versions: 1

Compression:

Stored size: 688 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Fave < Vk::Schema::Namespace
      module Methods
        # Adds a profile to user faves.
        class AddUser < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'fave.addUser'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :user_id Profile ID.
          #   @return [Fave::Methods::AddUser]

          # @!group Arguments

          # @return [Integer] Profile ID.
          attribute :user_id, API::Types::Coercible::Int.optional
        end
      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/fave/methods/add_user.rb