Sha256: 26bec910e3a52d0da0f7f23e3d4a6241a43e8387dd332578db864e3591e4ba90

Contents?: true

Size: 854 Bytes

Versions: 1

Compression:

Stored size: 854 Bytes

Contents

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

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

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :link Link URL.
          #   @option arguments [String] :text Description text.
          #   @return [Fave::Methods::AddLink]

          # @!group Arguments

          # @return [String] Link URL.
          attribute :link, API::Types::Coercible::String.optional
          # @return [String] Description text.
          attribute :text, API::Types::Coercible::String.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_link.rb