Sha256: 07d40f8f026ef11d642889707c013542c2fa0d5ee27b1816c3355a79b19b2c1d

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

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

module Vk
  module API
    class Leads < Vk::Schema::Namespace
      module Methods
        # Completes the lead started by user.
        class Complete < Schema::Method
          # @!group Properties

          self.open = true
          self.method = 'leads.complete'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :vk_sid Session obtained as GET parameter when session started.
          #   @option arguments [String] :secret Secret key from the lead testing interface.
          #   @option arguments [String] :comment Comment text.
          #   @return [Leads::Methods::Complete]

          # @!group Arguments

          # @return [String] Session obtained as GET parameter when session started.
          attribute :vk_sid, API::Types::Coercible::String.optional
          # @return [String] Secret key from the lead testing interface.
          attribute :secret, API::Types::Coercible::String.optional
          # @return [String] Comment text.
          attribute :comment, 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/leads/methods/complete.rb