Sha256: 87f90d2a8de73ce86d5c28ebc79d11cc9da2ab230f2ff1cae230427ba313a380

Contents?: true

Size: 934 Bytes

Versions: 1

Compression:

Stored size: 934 Bytes

Contents

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

module Vk
  module API
    class Leads < Vk::Schema::Namespace
      module Methods
        # Creates new session for the user passing the offer.
        class Start < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :lead_id Lead ID.
          #   @option arguments [String] :secret Secret key from the lead testing interface.
          #   @return [Leads::Methods::Start]

          # @!group Arguments

          # @return [Integer] Lead ID.
          attribute :lead_id, API::Types::Coercible::Int.optional
          # @return [String] Secret key from the lead testing interface.
          attribute :secret, 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/start.rb